Re: gzip question

2003-10-07 Thread David Z Maze
Curtis Vaughan [EMAIL PROTECTED] writes:

 Actually this doesn't have to be just in regards to gzip, but any file
 compression application.

(gzip only compresses a single file, but this might apply to tar or
similar programs.)

 Is there a way to force the application to provide a specific
 directory structure for the files you wish to compress.
 For example: let's say I have serveral files in my home directory.  I
 want to zip them so that when someone unzips them, the directory
 structure will be for a windows system something like: c:\Program
 Files\special directory\

 Is there a way to do this?

Not really.  You could run your tar or whatever from the root
directory, so when it's untarred from the root directory it would have
the same directory structure.  On my system:

  cd /
  tar cvf $HOME/mumble.tar mnt/dosc/Program\ Files/special\ directory
  gzip $HOME/mumble.tar

Note that Debian packages internally do something similar (in fact,
the package is actually an ar archive consisting of two .tar.gz files,
one of which contains the actual files installed in the proper
directory layout).  But nothing stops you from unpacking the file in
your home directory, and getting $HOME/usr/bin/whatever.  In fact,
this strategy is often useful for doing things like building CD-ROM
images from a set of tar files.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: gzip question

2003-10-07 Thread Dave Carrigan
On Tue, Oct 07, 2003 at 01:16:06PM -0700, Curtis Vaughan wrote:
 Actually this doesn't have to be just in regards to gzip, but any file 
 compression application.
 
 Is there a way to force the application to provide a specific directory 
 structure for the files you wish to compress.
 For example: let's say I have serveral files in my home directory.  I 
 want to zip them so that when someone unzips them, the directory 
 structure will be for a windows system something like: c:\Program 
 Files\special directory\

Create the directory structure you want, then tar up the directory, then
gzip the tar file. Winzip can extract files from tars and preserve
directory structure.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Camper Van Beethoven - The Fool (Our Beloved 
Revolutionary Sweetheart)


signature.asc
Description: Digital signature


Re: gzip question

1998-04-20 Thread Marcus Brinkmann
On Sun, Apr 19, 1998 at 12:38:54PM +0100, John wrote:
 In article [EMAIL PROTECTED], Norbert Veber
 [EMAIL PROTECTED] writes
 On Sat, Apr 18, 1998 at 12:11:06PM +0100, John wrote:
  Hello
  
  I have a non accessible (from linux) win95 partition [0]. I have
 
 Why is it non accessible?  Linux can read windows partitions, you can mount
 
 because it is doublespaced, and it must remain so.

So why don't you install dmsdos (available at sunsite), that gives you rw
access to doublespaced partitions (most of the times).

This is Linux we are talking about.

There is even a toolset to access Linux partitions from Windows (DOS).
Don't remember the name, though. Use the first solution.

Hey, this is *LINUX* we are talking about.

;)
Marcus

-- 
Rhubarb is no Egyptian god.Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: gzip question

1998-04-20 Thread John
In article [EMAIL PROTECTED], Marcus Brinkmann
[EMAIL PROTECTED] writes
On Sun, Apr 19, 1998 at 12:38:54PM +0100, John wrote:
 In article [EMAIL PROTECTED], Norbert Veber
 [EMAIL PROTECTED] writes
 On Sat, Apr 18, 1998 at 12:11:06PM +0100, John wrote:
  Hello
  
  I have a non accessible (from linux) win95 partition [0]. I have
 
 Why is it non accessible?  Linux can read windows partitions, you can mount
 
 because it is doublespaced, and it must remain so.

So why don't you install dmsdos (available at sunsite), that gives you rw
access to doublespaced partitions (most of the times).

This is Linux we are talking about.

There is even a toolset to access Linux partitions from Windows (DOS).
Don't remember the name, though. Use the first solution.

Hey, this is *LINUX* we are talking about.

;)
Marcus


hey thanks - this, if it works, is *precisely* what I need.

:) thanks again

John


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: gzip question

1998-04-19 Thread Norbert Veber
On Sat, Apr 18, 1998 at 12:11:06PM +0100, John wrote:
 Hello
 
 I have a non accessible (from linux) win95 partition [0]. I have

Why is it non accessible?  Linux can read windows partitions, you can mount
it as either msdos or vfat, if its fat32, then there is a kernel patch to
support that somewhere.  Also why don't you just download the stuff in
linux?  It would save you alot of grief.. :)


pgpXbCqQ3y2Oe.pgp
Description: PGP signature


Re: gzip question

1998-04-19 Thread John
In article [EMAIL PROTECTED], Norbert Veber
[EMAIL PROTECTED] writes
On Sat, Apr 18, 1998 at 12:11:06PM +0100, John wrote:
 Hello
 
 I have a non accessible (from linux) win95 partition [0]. I have

Why is it non accessible?  Linux can read windows partitions, you can mount

because it is doublespaced, and it must remain so.

it as either msdos or vfat, if its fat32, then there is a kernel patch to
support that somewhere.  Also why don't you just download the stuff in
linux?  It would save you alot of grief.. :)

this I would like to do. I have pppd *support* in the kernel, but, from
the base install, apparently no dialler, and also because it was a base
install, no way of looking up the various manpages, because manpages
wasn't installed, so even if ppp were installed, I would still have
problems configuring it because I couldn't see the manpages! I can now
see them, but with groff formatting with gunzip -c bla.tgz | more (in
the mandir) so am getting there, albeit slowly.

I agree that the best way (in my case0 would be to get the rest of the
install from the net via ftp, but my only access to the net is via a
phone line (hence ppp) and ppp ain't easy to configure if it's not
present in the base install by default, and the instructions for setting
it up may/may not be there but there is no pager (man) enabled by
default, so I can't see how to set it up.

Do i sound a tad stressed? well, maybe I am, but it's not a personal
thing. :)


John


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: gzip question

1998-04-18 Thread Christophe Broult
John [EMAIL PROTECTED] writes:

 Hello
 
 I have a non accessible (from linux) win95 partition [0]. I have
 downloaded a lot of files onto here that I want to install to linux.
 Some of these files are too large to put onto floppy, so they need to be
 split. I have gzip for dos on win95, also pkzip.
 
 The command for pkzip would be pkzip -e0 - a:\bla.zip *.* 
 What is the equivalent for gzip? How would I stich the files back
 together again?
 

You may consider trying unzip.

Chris

DESCRIPTION
   unzip  will  list,  test,  or  extract  files  from  a ZIP
   archive, commonly found on MS-DOS  systems.   The  default
   behavior  (with no options) is to extract into the current
   directory (and subdirectories below it) all files from the
   specified ZIP archive.  A companion program, zip(1L), cre-
   ates ZIP  archives;  both  programs  are  compatible  with
   archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS,
   but in many cases the program options or default behaviors
   differ.

 [0] - it is doublespaced. bleargh. I cannot remove it for work reasons.
 bleargh again.
 
 
 John
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: gzip question

1998-04-18 Thread Alain Toussaint
i think there's a Unix version of pkzip 2.60 available on the pkzip web
site,doesn't know if it run on Linux (had no time to check this when i
viewed the site),i'm pretty sure that it also work with gzipped file,the
address is:

http://www.pkware.com/

 Hello
 
 I have a non accessible (from linux) win95 partition [0]. I have
 downloaded a lot of files onto here that I want to install to linux.
 Some of these files are too large to put onto floppy, so they need to be
 split. I have gzip for dos on win95, also pkzip.
 
 The command for pkzip would be pkzip -e0 - a:\bla.zip *.* 
 What is the equivalent for gzip? How would I stich the files back
 together again?
 
 [0] - it is doublespaced. bleargh. I cannot remove it for work reasons.
 bleargh again.
 
 
 John


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]