View Single Post
  #1  
Old 05-22-2010, 02:33 PM
Micke's Avatar
Micke Micke is offline
PA Super User
 
Join Date: Feb 2010
Location: Sweden
Posts: 131
Thanks: 11
Thanked 52 Times in 40 Posts
Remove many files from Archive with one command

Hi!
I'm doing some tests with list files in PACOMP and the documentation about this says the following thing.

Quote:
@list : specify list of files for compression (use filename instead of list - see example)
I assume this means that I can only use a list file when I create a archive using the -a parameter.

I have tried this:
Quote:
pacomp -d Test_Remove.zip @Filelist.txt

Archive: D:\Script\Test_Remove.zip
preparing to compress...
*** WARNING: Nothing to add or update...

All OK
The error probably appears because I can only use a list file when I create the archive and not when delete files from it.

Now I can remove one file at a time, but if the Archive is about 1 Gb in size, it will take a lot of time updating the archive after removing one file. It would be better if I could have a list of files that I wanted to remove from the archive. That way I could for example remove 10 files at one time and then update the archive instead of remove 1 file at a time and update the archive 10 times in total.

If each update of the Archive takes approximate 5 min, then it would take about 50 min to remove 10 files from an Archive that is 1 Gb in size. If I could remove the 10 files at one time instead, then the whole update would take 5 min instead of 50 min.

My question is this:
Is it possible to remove more than one file at a time from an archive using PACL?

If not, I'll put it in a Wishlist for future versions of PACL.

Kind Regards
Micke

Last edited by Micke; 05-22-2010 at 02:48 PM. Reason: Spelling
The Following 3 Users Say Thank You to Micke For This Useful Post:
By-Tor (05-24-2010), pedlessimennim (10-18-2012), spwolf (05-22-2010)