Individual file compression
-
Would it be possible to have individual file compression (i) (as per PA BATCH tool)
with options for both files (f) / directories (d)plus option for format (h) : BH, BZ2, CAB, GZ, JAR, LHA, TAR, ZIP
e.g.
FolderA- FileA1
- FileA2
- FolderAB
-
- FileAB1
-
- FileAB2
PACOMP -i -hBH FolderA
FolderA- FileA1
- FileA1.BH
- FileA2
- FileA2.BH
- FolderAB.BH
- FolderAB
-
- FileAB1
-
- FileAB2
PACOMP -if -hZIP FolderA
FolderA- FileA1
- FileA1.zip
- FileA2
- FileA2.zip
- FolderAB
-
- FileAB1
-
- FileAB2
PACOMP -id -hGZ FolderA
FolderA- FileA1
- FileA2
- FolderAB.tar.gz
- FolderAB
-
- FileAB1
-
- FileAB2
Note: -r (recurse directory) overrides directory option
-i -r :: -if -r :: -id -r (are identical)PACOMP -iCAB -r FolderA
FolderA- FileA1
- FileA1.cab
- FileA2
- FileA2.cab
- FolderAB
-
- FileAB1
-
- FileAB1.cab
-
- FileAB2
-
- FileAB1.cab
-
Hello,
No adding these batch-zip options at the moment.
You can do all of this stuff by creating simple .BAT (batch) files. For example there are batch loops to go though all files in some directory and do “something” for each file separatelly - e.g. FOR %%X IN (%1) DO PACOMP -a %%X.ZIP %%X. NT batch files are even more complex and you can do more stuff with them.