Re: gzip whole directory with filenames to new directory
- From: nobody@xxxxxxxxxxxx (Scott)
- Date: Sat, 25 Feb 2006 02:19:59 GMT
On 24 Feb 2006 12:53:37 -0800, "eud9-cpp@xxxxxxxxx" <eud9-cpp@xxxxxxxxx>
wrote:
I would like to gzip all the files in one directory to another
directory while perserving the filenames (i.e. the gzipped file names
are the original filename with ".gz" appended). The key this is two
things: 1) I don't know the filenames in the original directory and 2)
I don't want to copy the files to the new directory and then gzip them.
Does anyone know how to use gzip to accomplish this?
No, gzip isn't designed for that. You'll need a script of some sort to
break the task down into gzip-sized bites.
Offhand, I do believe that DOS batch language can accompish the task, though
it might take a couple of dirty tricks to make it work. If QBasic is
available, all the better, but I think it can be done with just batch.
-Scott
.
- References:
- gzip whole directory with filenames to new directory
- From: eud9-cpp@xxxxxxxxx
- gzip whole directory with filenames to new directory
- Prev by Date: Re: Where can I get specifications for zip file with AES encryption
- Next by Date: Re: gzip whole directory with filenames to new directory
- Previous by thread: Re: gzip whole directory with filenames to new directory
- Index(es):
Relevant Pages
|
|