PowerArchiver Forums

PowerArchiver Forums (http://www.powerarchiver.com/forums/index.php)
-   Wishlist (http://www.powerarchiver.com/forums/forumdisplay.php?f=10)
-   -   Remove many files from Archive with one command (http://www.powerarchiver.com/forums/showthread.php?t=4566)

Micke 05-22-2010 02:33 PM

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

spwolf 10-08-2010 06:48 AM

Try with PACL 6.02 and lets see what happens :)

Micke 10-18-2010 04:15 PM

Hi!
I have tested removing more than one file from a Archive by using a listfile. Here's the results from this test.

Contents of Listfile.txt
Code:

D:\PA_Test\IMG_01.jpg
D:\PA_Test\IMG_02.jpg
D:\PA_Test\IMG_03.jpg
D:\PA_Test\IMG_04.jpg
D:\PA_Test\IMG_05.jpg
D:\PA_Test\IMG_06.jpg
D:\PA_Test\IMG_07.jpg
D:\PA_Test\IMG_08.jpg
D:\PA_Test\IMG_09.jpg
D:\PA_Test\IMG_10.jpg
D:\PA_Test\IMG_11.jpg
D:\PA_Test\IMG_12.jpg
D:\PA_Test\IMG_13.jpg
D:\PA_Test\IMG_14.jpg
D:\PA_Test\IMG_15.jpg
D:\PA_Test\IMG_16.jpg
D:\PA_Test\IMG_17.jpg
D:\PA_Test\IMG_18.jpg
D:\PA_Test\IMG_19.jpg
D:\PA_Test\IMG_20.jpg
D:\PA_Test\IMG_21.jpg
D:\PA_Test\IMG_22.jpg
D:\PA_Test\IMG_23.jpg

Create a archive with full pathname and using a listfile to add the files to the archive

Code:

D:\PACL_Test>pacomp -a -P PACL_Test_P.zip @Listfile.txt
PowerArchiver Command Line (PACL)              Version 6.02      [Oct 10 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\PACL_Test_P.zip
  preparing to compress...
  adding: PA_Test\IMG_01.jpg  --> Done. [3%]
  adding: PA_Test\IMG_02.jpg  --> Done. [6%]
  adding: PA_Test\IMG_03.jpg  --> Done. [13%]
  adding: PA_Test\IMG_04.jpg  --> Done. [17%]
  adding: PA_Test\IMG_05.jpg  --> Done. [21%]
  adding: PA_Test\IMG_06.jpg  --> Done. [27%]
  adding: PA_Test\IMG_07.jpg  --> Done. [31%]
  adding: PA_Test\IMG_08.jpg  --> Done. [36%]
  adding: PA_Test\IMG_09.jpg  --> Done. [40%]
  adding: PA_Test\IMG_10.jpg  --> Done. [45%]
  adding: PA_Test\IMG_11.jpg  --> Done. [49%]
  adding: PA_Test\IMG_12.jpg  --> Done. [54%]
  adding: PA_Test\IMG_13.jpg  --> Done. [57%]
  adding: PA_Test\IMG_14.jpg  --> Done. [61%]
  adding: PA_Test\IMG_15.jpg  --> Done. [65%]
  adding: PA_Test\IMG_16.jpg  --> Done. [69%]
  adding: PA_Test\IMG_17.jpg  --> Done. [73%]
  adding: PA_Test\IMG_18.jpg  --> Done. [77%]
  adding: PA_Test\IMG_19.jpg  --> Done. [82%]
  adding: PA_Test\IMG_20.jpg  --> Done. [87%]
  adding: PA_Test\IMG_21.jpg  --> Done. [92%]
  adding: PA_Test\IMG_22.jpg  --> Done. [96%]
  adding: PA_Test\IMG_23.jpg  --> Done. [100%]

All OK

D:\PACL_Test>

List the contents of the created archive
Code:

D:\PACL_Test>paext -v PACL_Test_P.zip
PowerArchiver Command Line (PACL)              Version 6.02      [Oct 10 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\PACL_Test_P.zip [ZIP]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
PA_Test\IMG_01.jpg
                161789    DFLT-N  29%    114454  08-03-2010 23:07:24 ef81e275
PA_Test\IMG_02.jpg
                138233    DFLT-N  32%      94385  08-03-2010 23:07:58 e3b93b26
PA_Test\IMG_03.jpg
                261775    DFLT-N  17%    217479  08-03-2010 23:09:48 7457e2e9
PA_Test\IMG_04.jpg
                183436    DFLT-N  24%    138970  08-03-2010 23:10:34 ec974b2f
PA_Test\IMG_05.jpg
                175546    DFLT-N  25%    131279  08-03-2010 23:10:54 58dd4120
PA_Test\IMG_06.jpg
                283265    DFLT-N  17%    236153  08-03-2010 23:11:28 d2d582d0
PA_Test\IMG_07.jpg
                158403    DFLT-N  30%    110876  08-03-2010 23:12:02 b394d1d1
PA_Test\IMG_08.jpg
                208013    DFLT-N  23%    160622  08-03-2010 23:12:24 3bc9cda3
PA_Test\IMG_09.jpg
                195931    DFLT-N  21%    154721  08-03-2010 23:13:36 59815b19
PA_Test\IMG_10.jpg
                204451    DFLT-N  24%    154399  08-03-2010 23:14:38 351c82b3
PA_Test\IMG_11.jpg
                187594    DFLT-N  23%    144056  08-03-2010 23:14:58 fe0d02ed
PA_Test\IMG_12.jpg
                190967    DFLT-N  24%    144839  08-03-2010 23:15:28 411436ba
PA_Test\IMG_13.jpg
                138797    DFLT-N  32%      94621  08-03-2010 23:16:10 a19a1f7c
PA_Test\IMG_14.jpg
                175613    DFLT-N  25%    131688  08-03-2010 23:16:42 9b14cd22
PA_Test\IMG_15.jpg
                171813    DFLT-N  26%    127673  08-03-2010 23:23:34 1fb450a6
PA_Test\IMG_16.jpg
                182176    DFLT-N  24%    137901  08-03-2010 23:23:54 8cedea77
PA_Test\IMG_17.jpg
                176589    DFLT-N  25%    132412  08-03-2010 23:24:24 705c51f7
PA_Test\IMG_18.jpg
                146091    DFLT-N  33%      98556  08-03-2010 23:17:32 47a1097f
PA_Test\IMG_19.jpg
                229730    DFLT-N  21%    182631  08-03-2010 23:18:00 7229c032
PA_Test\IMG_20.jpg
                217430    DFLT-N  20%    173301  08-03-2010 23:18:40 7f7c88e6
PA_Test\IMG_21.jpg
                189525    DFLT-N  23%    145747  08-03-2010 23:19:00 85db48ce
PA_Test\IMG_22.jpg
                179442    DFLT-N  23%    138371  08-03-2010 23:19:24 b7d7507f
PA_Test\IMG_23.jpg
                162456    DFLT-N  27%    118401  08-03-2010 23:20:00 f44fb9eb
------------  --------  --------  -----  --------  ------------------- --------
*Totals  23  4319065            24%    3286133  10-18-2010 22:23:54

D:\PACL_Test>

Contents of the listfile I'll be using for removing files from the created archive. I have assumed that the filenames in the listfile should have the full pathname as they have in the archive.

Code:

PA_Test\IMG_01.jpg
PA_Test\IMG_02.jpg
PA_Test\IMG_03.jpg
PA_Test\IMG_04.jpg
PA_Test\IMG_05.jpg
PA_Test\IMG_06.jpg
PA_Test\IMG_07.jpg
PA_Test\IMG_08.jpg
PA_Test\IMG_09.jpg

Run the command to remove these 9 files from the archive.

Code:

D:\PACL_Test>pacomp -d PACL_Test_P.zip @Listfile_Del_P.txt
PowerArchiver Command Line (PACL)              Version 6.02      [Oct 10 2010
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Versio
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\PACL_Test\PACL_Test_P.zip
  preparing to compress...
  deleting: PA_Test\IMG_01.jpg
  *** WARNING: Nothing to add or update...

All OK

D:\PACL_Test>

I then list the contents of the archive again.

Code:

D:\PACL_Test>paext -v PACL_Test_P.zip
PowerArchiver Command Line (PACL)              Version 6.02      [Oct 10 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to: Mikael Hedman
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\PACL_Test\PACL_Test_P.zip [ZIP]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
PA_Test\IMG_02.jpg
                138233    DFLT-N  32%      94385  08-03-2010 23:07:58 e3b93b26
PA_Test\IMG_03.jpg
                261775    DFLT-N  17%    217479  08-03-2010 23:09:48 7457e2e9

As you can see, only PA_Test\IMG_01.jpg was removed from the archive.

Let me know if I have missed something in these tests. I'm looking forward this functionality and will do more tests of it when you have updated PACL with it.

Kind Regards
Micke

barettpaula336 10-19-2010 08:51 AM

Paula Barrett
 
I agree with you Micke

Micke 03-22-2012 10:33 AM

Hello!
I've tested removing files from an archive using a listfile, but it still doesn't work.

Tested with PACL 7.00 RC1.

Is this something that will be fixed in 7.00?

Right now it's not possible to remove more than one file at a time from an archive using PACL. This is a big limitation of the program.

Kind Regards
Micke

Micke 03-29-2012 02:53 PM

Quote:

Originally Posted by spwolf (Post 23355)
Try with PACL 6.02 and lets see what happens :)

I'm just curious if you have plans to implement support for removing more than one file at a time from an archive using PACL? It's not working in 6.02 and when testing in 7.00 RC1, the result is the same as in 6.01 and 6.02.

Kind Regards
Micke

spwolf 05-11-2012 11:24 AM

PACL 7.00:
http://www.powerarchiver.com/test/alpha125/pacl700.exe

check with this release please.... thanks!

Micke 05-12-2012 03:15 PM

Thanks for the update. I'll test the new version and get back with the result from that test.

Kind Regards
Micke

spwolf 05-12-2012 10:02 PM

ok, thanks!

Micke 05-14-2012 01:15 PM

Test 1 - Archive with no paths to the files inside
 
Hi!
Now I'm finished with my testing of PACL 7.00 [May 11 2012]. I've made 4 different tests of removing files from an archive using a listfile.

Each test will be in a separate post in this thread

Test 1 - Archive with no paths to the files inside

Begin with create the archive T1_NoPath.zip
Code:

C:\Programs\PACL_Test>pacomp -a T1_NoPath.zip issue1*_en.pdf
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T1_NoPath.zip
  preparing to compress...
  adding: issue10_en.pdf  --> Done. [8%]
  adding: issue11_en.pdf  --> Done. [16%]
  adding: issue12_en.pdf  --> Done. [27%]
  adding: issue13_en.pdf  --> Done. [36%]
  adding: issue14_en.pdf  --> Done. [43%]
  adding: issue15_en.pdf  --> Done. [52%]
  adding: issue16_en.pdf  --> Done. [60%]
  adding: issue17_en.pdf  --> Done. [70%]
  adding: issue18_en.pdf  --> Done. [79%]
  adding: issue19_en.pdf  --> Done. [90%]
  adding: issue1_en.pdf  --> Done. [100%]

All OK

C:\Programs\PACL_Test>

List the contents of T1_NoPath.zip
Code:

C:\Programs\PACL_Test>paext -v T1_NoPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T1_NoPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
issue10_en.pdf
              5397705    DFLT-N    9%    4917615  02-29-2008 02:17:18 57056248
issue11_en.pdf
              5357464    DFLT-N  11%    4751261  03-28-2008 02:42:10 86a33c50
issue12_en.pdf
              7536694    DFLT-N  10%    6786765  04-25-2008 04:04:48 7f450459
issue13_en.pdf
              6043586    DFLT-N    7%    5637885  05-31-2008 00:49:00 be7f39b6
issue14_en.pdf
              4867559    DFLT-N    7%    4507529  06-27-2008 03:47:06 3c60e08c
issue15_en.pdf
              5406917    DFLT-N  11%    4822067  07-25-2008 17:50:10 f263d610
issue16_en.pdf
              5631112    DFLT-N    8%    5192912  08-30-2008 03:09:20 2b82378a
issue17_en.pdf
              6802691    DFLT-N    9%    6216014  11-02-2008 18:47:56 9e38fd6b
issue18_en.pdf
              5612632    DFLT-N  11%    5019494  11-02-2008 03:47:54 b0a98880
issue19_en.pdf
              7192716    DFLT-N  10%    6490518  11-30-2008 02:35:18 7e2cf9cc
issue1_en.pdf
              6629883    DFLT-N    5%    6318565  06-08-2007 02:45:06 69255866
------------  --------  --------  -----  --------  ------------------- --------
*Totals  11  66478959              9%  60661789  05-13-2012 22:01:10

C:\Programs\PACL_Test>

Content of listfile deletelist1.txt
Code:

issue10_en.pdf
issue12_en.pdf
issue16_en.pdf
issue17_en.pdf

Expected results from the test: The named files in the listfile will be removed from the archive.

Remove the files from T1_NoPath.zip
Code:

C:\Programs\PACL_Test>pacomp -d T1_NoPath.zip @deletelist1.txt
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T1_NoPath.zip
  preparing to compress...
  deleting: issue10_en.pdf 
  deleting: issue12_en.pdf 
  deleting: issue16_en.pdf 
  deleting: issue17_en.pdf 

All OK

C:\Programs\PACL_Test>

List the contents of T1_NoPath.zip after removing the files
Code:

C:\Programs\PACL_Test>paext -v T1_NoPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T1_NoPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
issue11_en.pdf
              5357464    DFLT-N  11%    4751261  03-28-2008 02:42:10 86a33c50
issue13_en.pdf
              6043586    DFLT-N    7%    5637885  05-31-2008 00:49:00 be7f39b6
issue14_en.pdf
              4867559    DFLT-N    7%    4507529  06-27-2008 03:47:06 3c60e08c
issue15_en.pdf
              5406917    DFLT-N  11%    4822067  07-25-2008 17:50:10 f263d610
issue18_en.pdf
              5612632    DFLT-N  11%    5019494  11-02-2008 03:47:54 b0a98880
issue19_en.pdf
              7192716    DFLT-N  10%    6490518  11-30-2008 02:35:18 7e2cf9cc
issue1_en.pdf
              6629883    DFLT-N    5%    6318565  06-08-2007 02:45:06 69255866
------------  --------  --------  -----  --------  ------------------- --------
*Totals    7  41110757              9%  37548067  05-13-2012 22:03:24

C:\Programs\PACL_Test>

Test result: Success

Kind Regards
Micke

Micke 05-14-2012 01:17 PM

Test 2 - Archive with relative paths to the files inside
 
Test 2 - Archive with relative paths to the files inside

Begin with create the archive T2_RelPath.zip
Code:

C:\Programs\PACL_Test>pacomp -a -p -r T2_RelPath.zip issue2*_en.pdf
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T2_RelPath.zip
  preparing to compress...
  adding: issue20_en.pdf  --> Done. [3%]
  adding: issue21_en.pdf  --> Done. [9%]
  adding: issue22_en.pdf  --> Done. [12%]
  adding: issue23_en.pdf  --> Done. [15%]
  adding: issue24_en.pdf  --> Done. [22%]
  adding: issue25_en.pdf  --> Done. [28%]
  adding: issue26_en.pdf  --> Done. [32%]
  adding: issue27_en.pdf  --> Done. [39%]
  adding: issue29_en.pdf  --> Done. [45%]
  adding: issue2_en.pdf  --> Done. [49%]
  adding: Sub\issue20_en.pdf  --> Done. [53%]
  adding: Sub\issue21_en.pdf  --> Done. [59%]
  adding: Sub\issue22_en.pdf  --> Done. [62%]
  adding: Sub\issue23_en.pdf  --> Done. [65%]
  adding: Sub\issue24_en.pdf  --> Done. [72%]
  adding: Sub\issue25_en.pdf  --> Done. [78%]
  adding: Sub\issue26_en.pdf  --> Done. [82%]
  adding: Sub\issue27_en.pdf  --> Done. [89%]
  adding: Sub\issue29_en.pdf  --> Done. [95%]
  adding: Sub\issue2_en.pdf  --> Done. [100%]

All OK

C:\Programs\PACL_Test>

List the contents of T2_RelPath.zip
Code:

C:\Programs\PACL_Test>paext -v T2_RelPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T2_RelPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
issue20_en.pdf
              5100971    DFLT-N    8%    4689771  12-29-2008 18:33:12 7886ed7b
issue21_en.pdf
              6918345    DFLT-N  10%    6200716  02-02-2009 18:02:22 1a15573e
issue22_en.pdf
              4198112    DFLT-N    8%    3868238  02-28-2009 19:00:48 29b825bf
issue23_en.pdf
              4142902    DFLT-N    7%    3841598  03-28-2009 18:07:12 5858f373
issue24_en.pdf
              9579999    DFLT-N    8%    8854714  04-25-2009 17:53:28 180995ed
issue25_en.pdf
              7470190    DFLT-N    8%    6846805  05-30-2009 05:20:32 387318a8
issue26_en.pdf
              5975834    DFLT-N    8%    5493708  06-28-2009 18:27:32 1d0df4ef
issue27_en.pdf
              9205949    DFLT-N    9%    8391698  08-03-2009 00:52:22 ddbb77c4
issue29_en.pdf
              7619151    DFLT-N    6%    7197273  09-26-2009 06:53:10 777a9735
issue2_en.pdf
              6504476    DFLT-N    8%    5987655  06-30-2007 18:13:20 c0c31444
Sub\issue20_en.pdf
              5100971    DFLT-N    8%    4689771  12-29-2008 18:33:12 7886ed7b
Sub\issue21_en.pdf
              6918345    DFLT-N  10%    6200716  02-02-2009 18:02:22 1a15573e
Sub\issue22_en.pdf
              4198112    DFLT-N    8%    3868238  02-28-2009 19:00:48 29b825bf
Sub\issue23_en.pdf
              4142902    DFLT-N    7%    3841598  03-28-2009 18:07:12 5858f373
Sub\issue24_en.pdf
              9579999    DFLT-N    8%    8854714  04-25-2009 17:53:28 180995ed
Sub\issue25_en.pdf
              7470190    DFLT-N    8%    6846805  05-30-2009 05:20:32 387318a8
Sub\issue26_en.pdf
              5975834    DFLT-N    8%    5493708  06-28-2009 18:27:32 1d0df4ef
Sub\issue27_en.pdf
              9205949    DFLT-N    9%    8391698  08-03-2009 00:52:22 ddbb77c4
Sub\issue29_en.pdf
              7619151    DFLT-N    6%    7197273  09-26-2009 06:53:10 777a9735
Sub\issue2_en.pdf
              6504476    DFLT-N    8%    5987655  06-30-2007 18:13:20 c0c31444
------------  --------  --------  -----  --------  ------------------- --------
*Totals  20 133431858              8%  122746530  05-13-2012 22:01:32

C:\Programs\PACL_Test>

Content of listfile deletelist2.txt
Code:

issue20_en.pdf
issue22_en.pdf
issue26_en.pdf
issue27_en.pdf

Expected results from the test: The named files in the listfile will be removed from the archive. The files in the folder named Sub won't be removed.

Remove the files from T2_RelPath.zip
Code:

C:\Programs\PACL_Test>pacomp -d T2_RelPath.zip @deletelist2.txt
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T2_RelPath.zip
  preparing to compress...
  deleting: issue20_en.pdf 
  deleting: issue22_en.pdf 
  deleting: issue26_en.pdf 
  deleting: issue27_en.pdf 

All OK

C:\Programs\PACL_Test>

List the contents of T2_RelPath.zip after removing the files
Code:

C:\Programs\PACL_Test>paext -v T2_RelPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T2_RelPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
issue21_en.pdf
              6918345    DFLT-N  10%    6200716  02-02-2009 18:02:22 1a15573e
issue23_en.pdf
              4142902    DFLT-N    7%    3841598  03-28-2009 18:07:12 5858f373
issue24_en.pdf
              9579999    DFLT-N    8%    8854714  04-25-2009 17:53:28 180995ed
issue25_en.pdf
              7470190    DFLT-N    8%    6846805  05-30-2009 05:20:32 387318a8
issue29_en.pdf
              7619151    DFLT-N    6%    7197273  09-26-2009 06:53:10 777a9735
issue2_en.pdf
              6504476    DFLT-N    8%    5987655  06-30-2007 18:13:20 c0c31444
Sub\issue20_en.pdf
              5100971    DFLT-N    8%    4689771  12-29-2008 18:33:12 7886ed7b
Sub\issue21_en.pdf
              6918345    DFLT-N  10%    6200716  02-02-2009 18:02:22 1a15573e
Sub\issue22_en.pdf
              4198112    DFLT-N    8%    3868238  02-28-2009 19:00:48 29b825bf
Sub\issue23_en.pdf
              4142902    DFLT-N    7%    3841598  03-28-2009 18:07:12 5858f373
Sub\issue24_en.pdf
              9579999    DFLT-N    8%    8854714  04-25-2009 17:53:28 180995ed
Sub\issue25_en.pdf
              7470190    DFLT-N    8%    6846805  05-30-2009 05:20:32 387318a8
Sub\issue26_en.pdf
              5975834    DFLT-N    8%    5493708  06-28-2009 18:27:32 1d0df4ef
Sub\issue27_en.pdf
              9205949    DFLT-N    9%    8391698  08-03-2009 00:52:22 ddbb77c4
Sub\issue29_en.pdf
              7619151    DFLT-N    6%    7197273  09-26-2009 06:53:10 777a9735
Sub\issue2_en.pdf
              6504476    DFLT-N    8%    5987655  06-30-2007 18:13:20 c0c31444
------------  --------  --------  -----  --------  ------------------- --------
*Totals  16 108950992              8%  100302699  05-13-2012 22:04:42

C:\Programs\PACL_Test>

Test result: Success

Kind Regards
Micke

Micke 05-14-2012 01:26 PM

Test 3 - Archive with full paths to the files inside
 
Test 3 - Archive with full paths to the files inside

Begin with create the archive T3_FullPath.zip
Code:

C:\Programs\PACL_Test>pacomp -a -P T3_FullPath.zip issue3*_en.pdf
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T3_FullPath.zip
  preparing to compress...
  adding: Programs\PACL_Test\issue30_en.pdf  --> Done. [11%]
  adding: Programs\PACL_Test\issue31_en.pdf  --> Done. [19%]
  adding: Programs\PACL_Test\issue32_en.pdf  --> Done. [25%]
  adding: Programs\PACL_Test\issue33_en.pdf  --> Done. [33%]
  adding: Programs\PACL_Test\issue34_en.pdf  --> Done. [43%]
  adding: Programs\PACL_Test\issue35_en.pdf  --> Done. [57%]
  adding: Programs\PACL_Test\issue36_en.pdf  --> Done. [67%]
  adding: Programs\PACL_Test\issue37_en.pdf  --> Done. [74%]
  adding: Programs\PACL_Test\issue38_en.pdf  --> Done. [84%]
  adding: Programs\PACL_Test\issue39_en.pdf  --> Done. [94%]
  adding: Programs\PACL_Test\issue3_en.pdf  --> Done. [100%]

All OK

C:\Programs\PACL_Test>

List the contents of T3_FullPath.zip
Code:

C:\Programs\PACL_Test>paext -v T3_FullPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T3_FullPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
Programs\PACL_Test\issue30_en.pdf
              9972280    DFLT-N    4%    9540376  10-31-2009 01:24:40 fef8e384
Programs\PACL_Test\issue31_en.pdf
              6548726    DFLT-N    7%    6099978  11-28-2009 04:09:52 e139460e
Programs\PACL_Test\issue32_en.pdf
              5634148    DFLT-N    7%    5241368  01-01-2010 09:00:54 0b921e4b
Programs\PACL_Test\issue33_en.pdf
              6742995    DFLT-N    8%    6192159  01-31-2010 00:01:42 e749acf7
Programs\PACL_Test\issue34_en.pdf
              8410553    DFLT-N    4%    8037455  02-27-2010 18:58:54 4118b5ef
Programs\PACL_Test\issue35_en.pdf
              12558118    DFLT-N    3%  12133782  03-28-2010 01:26:32 08444294
Programs\PACL_Test\issue36_en.pdf
              8377704    DFLT-N    5%    7969068  04-30-2010 01:38:10 ecccc46d
Programs\PACL_Test\issue37_en.pdf
              6038837    DFLT-N    7%    5620668  05-28-2010 23:26:24 d26224b4
Programs\PACL_Test\issue38_en.pdf
              8771414    DFLT-N    5%    8363225  06-27-2010 01:53:20 9b399973
Programs\PACL_Test\issue39_en.pdf
              8699322    DFLT-N    6%    8179294  07-31-2010 18:57:42 11341c8e
Programs\PACL_Test\issue3_en.pdf
              4625448    DFLT-N  12%    4084809  09-06-2007 04:15:00 6ea71c54
------------  --------  --------  -----  --------  ------------------- --------
*Totals  11  86379545              6%  81463764  05-13-2012 22:02:18

C:\Programs\PACL_Test>

Content of listfile deletelist3.txt
Code:

Programs\PACL_Test\issue30_en.pdf
Programs\PACL_Test\issue32_en.pdf
Programs\PACL_Test\issue36_en.pdf
Programs\PACL_Test\issue37_en.pdf

Expected results from the test: The named files in the listfile will be removed from the archive.

Remove the files from T3_FullPath.zip
Code:

C:\Programs\PACL_Test>pacomp -d T3_FullPath.zip @deletelist3.txt
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T3_FullPath.zip
  preparing to compress...
  deleting: Programs\PACL_Test\issue30_en.pdf 
  deleting: Programs\PACL_Test\issue32_en.pdf 
  deleting: Programs\PACL_Test\issue36_en.pdf 
  deleting: Programs\PACL_Test\issue37_en.pdf 

All OK

C:\Programs\PACL_Test>

List the contents of T3_FullPath.zip after removing the files
Code:

C:\Programs\PACL_Test>paext -v T3_FullPath.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T3_FullPath.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
Programs\PACL_Test\issue31_en.pdf
              6548726    DFLT-N    7%    6099978  11-28-2009 04:09:52 e139460e
Programs\PACL_Test\issue33_en.pdf
              6742995    DFLT-N    8%    6192159  01-31-2010 00:01:42 e749acf7
Programs\PACL_Test\issue34_en.pdf
              8410553    DFLT-N    4%    8037455  02-27-2010 18:58:54 4118b5ef
Programs\PACL_Test\issue35_en.pdf
              12558118    DFLT-N    3%  12133782  03-28-2010 01:26:32 08444294
Programs\PACL_Test\issue38_en.pdf
              8771414    DFLT-N    5%    8363225  06-27-2010 01:53:20 9b399973
Programs\PACL_Test\issue39_en.pdf
              8699322    DFLT-N    6%    8179294  07-31-2010 18:57:42 11341c8e
Programs\PACL_Test\issue3_en.pdf
              4625448    DFLT-N  12%    4084809  09-06-2007 04:15:00 6ea71c54
------------  --------  --------  -----  --------  ------------------- --------
*Totals    7  56356576              6%  53091716  05-13-2012 22:06:08

C:\Programs\PACL_Test>

Test result: Success

Kind Regards
Micke

Micke 05-14-2012 01:28 PM

Test 4 - Archive with full paths including driveletter to the files inside
 
Test 4 - Archive with full paths including driveletter to the files inside

Begin with create the archive T4_FullPathDrive.zip
Code:

C:\Programs\PACL_Test>pacomp -a -PP T4_FullPathDrive.zip issue4*_en.pdf
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T4_FullPathDrive.zip
  preparing to compress...
  adding: C:\Programs\PACL_Test\issue40_en.pdf  --> Done. [17%]
  adding: C:\Programs\PACL_Test\issue41_en.pdf  --> Done. [29%]
  adding: C:\Programs\PACL_Test\issue42_en.pdf  --> Done. [40%]
  adding: C:\Programs\PACL_Test\issue43_en.pdf  --> Done. [51%]
  adding: C:\Programs\PACL_Test\issue44_en.pdf  --> Done. [60%]
  adding: C:\Programs\PACL_Test\issue45_en.pdf  --> Done. [72%]
  adding: C:\Programs\PACL_Test\issue46_en.pdf  --> Done. [89%]
  adding: C:\Programs\PACL_Test\issue4_en.pdf  --> Done. [100%]

All OK

C:\Programs\PACL_Test>

List the contents of T4_FullPathDrive.zip
Code:

C:\Programs\PACL_Test>paext -v T4_FullPathDrive.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T4_FullPathDrive.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
C:\Programs\PACL_Test\issue40_en.pdf
              9571656    DFLT-N    7%    8863706  08-29-2010 18:09:14 66b5badb
C:\Programs\PACL_Test\issue41_en.pdf
              6178934    DFLT-N    9%    5620586  09-26-2010 04:34:22 efc85625
C:\Programs\PACL_Test\issue42_en.pdf
              6129678    DFLT-N    9%    5607040  11-07-2010 17:44:00 17ae3698
C:\Programs\PACL_Test\issue43_en.pdf
              5902195    DFLT-N    9%    5373646  11-27-2010 21:53:30 7db0c564
C:\Programs\PACL_Test\issue44_en.pdf
              4760023    DFLT-N    8%    4399486  12-31-2010 18:41:22 6e782948
C:\Programs\PACL_Test\issue45_en.pdf
              6268390    DFLT-N    8%    5752164  01-27-2011 20:51:46 648123fa
C:\Programs\PACL_Test\issue46_en.pdf
              9060835    DFLT-N    5%    8605504  02-25-2011 23:27:32 7efbfcaf
C:\Programs\PACL_Test\issue4_en.pdf
              5668696    DFLT-N  11%    5047967  09-06-2007 04:15:00 47eac3f0
------------  --------  --------  -----  --------  ------------------- --------
*Totals    8  53540407              8%  49271303  05-13-2012 22:02:50

C:\Programs\PACL_Test>

Content of listfile deletelist4.txt
Code:

C:\Programs\PACL_Test\issue40_en.pdf
C:\Programs\PACL_Test\issue42_en.pdf
C:\Programs\PACL_Test\issue46_en.pdf
C:\Programs\PACL_Test\issue47_en.pdf

Expected results from the test: The named files in the listfile will be removed from the archive except issue47_en.pdf that doesn't exists in the archive.

Remove the files from T4_FullPathDrive.zip
Code:

C:\Programs\PACL_Test>pacomp -d T4_FullPathDrive.zip @deletelist4.txt
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\PACL_Test\T4_FullPathDrive.zip
  preparing to compress...
  deleting: C:\Programs\PACL_Test\issue40_en.pdf 
  deleting: C:\Programs\PACL_Test\issue42_en.pdf 
  deleting: C:\Programs\PACL_Test\issue46_en.pdf 

All OK

C:\Programs\PACL_Test>

List the contents of T4_FullPathDrive.zip after removing the files
Code:

C:\Programs\PACL_Test>paext -v T4_FullPathDrive.zip
PowerArchiver Command Line (PACL)              Version 7.00      [May 11 2012]
Copyright(c) 1998-2012 ConeXware, Inc.  All Rights Reserved.  Shareware Version

Remainder: This is unregistered version of PACL. Please register at http://www.powerarchiver.com
Press <ENTER> to continue.
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\PACL_Test\T4_FullPathDrive.zip [ZIP      ]

Name            Length  Method  Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
C:\Programs\PACL_Test\issue41_en.pdf
              6178934    DFLT-N    9%    5620586  09-26-2010 04:34:22 efc85625
C:\Programs\PACL_Test\issue43_en.pdf
              5902195    DFLT-N    9%    5373646  11-27-2010 21:53:30 7db0c564
C:\Programs\PACL_Test\issue44_en.pdf
              4760023    DFLT-N    8%    4399486  12-31-2010 18:41:22 6e782948
C:\Programs\PACL_Test\issue45_en.pdf
              6268390    DFLT-N    8%    5752164  01-27-2011 20:51:46 648123fa
C:\Programs\PACL_Test\issue4_en.pdf
              5668696    DFLT-N  11%    5047967  09-06-2007 04:15:00 47eac3f0
------------  --------  --------  -----  --------  ------------------- --------
*Totals    5  28778238              9%  26194609  05-13-2012 22:06:50

C:\Programs\PACL_Test>

Test result: Success

Kind Regards
Micke

spwolf 05-14-2012 01:40 PM

thanks Micke!


All times are GMT -5. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.