Re: creating multiple zip arhives?
- From: Adam Piggott <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 19:02:55 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dani wrote:
> I need something similar, I need to compress a folder, with some
> subfolders and with many files in every subfolder, in one ZIP (o RAR
> file), inside the ZIP I must have the folder structure and the files,
> and from the source only delete the files, not the folders.
>
> Any idea?
Well the documentation for Info-ZIP's zip.exe should give you a good start
(i.e. recursive, directory structure). As for deleting the source *files*
and not directories, maybe the For command would be useful again:
for /R %I in (*) do echo del "%~fI"
....in the directory would only delete the files.
*BE CAREFUL WITH THIS COMMAND*
Run it from C: or Program Files etc. and you'll nuke your computer. Remove
"echo" for it to actually work.
I'd strongly advise reading on Windows' Help regarding use of the For
command as it's very handy.
Cheers
- --
Adam Piggott, Proprietor, Proactive Services (Computing).
http://www.proactiveservices.co.uk/
Please replace dot invalid with dot uk to email me.
Apply personally for PGP public key.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFDDgfP7uRVdtPsXDkRAvFoAJ0aEyiaUeLEgP2ytvfOZ037I8yNRgCfWBsf
MZKq4+5ZU3u6Kl+Plp4XIuk=
=WWPU
-----END PGP SIGNATURE-----
.
- References:
- creating multiple zip arhives?
- From: William Stokes
- Re: creating multiple zip arhives?
- From: Adam Piggott
- Re: creating multiple zip arhives?
- From: Dani
- creating multiple zip arhives?
- Prev by Date: Re: creating multiple zip arhives?
- Next by Date: Re: Searching for files that DO NOT contain a given string
- Previous by thread: Re: creating multiple zip arhives?
- Next by thread: Re: creating multiple zip arhives?
- Index(es):
Relevant Pages
|
Loading