Page summary :
Command Line
Command Line
Copyright (©) 2008-2050, Turbo Compressor v1.0, XEDIUS S.R.L. - Italy,
All rights reserved.
Usage:
<Command Shell> -mode="[c|d|a]" [-options] [output] [input]
Compression mode : <Command Shell> -mode="c" [-options]
Decompression mode : <Command Shell> -mode="d" [-options]
Archive mode : <Command Shell> -mode="a" [-options]
- Options:
-mode : execution mode.
-mode="c": compression mode
-mode="d": decompression mode
-mode="a": archive mode
-R : recurse subdirectories. Only in compression mode.
-h : hidden files. Only in compression mode.
-npl: normal path length (256 chars instead of 65536).
Only in compression mode.
-rp : relative path . Only in compression mode.
-log: log file (mandatory).
-log="<file name>": <file name> is log file name.
-part: part length (mandatory, >= 1MB <=10MB). Only in compression mode.
-part="<part length in bytes>": <part length in bytes>.
-overwrite: overwrite output files. Only in decompression mode.
-stop: stop file. Only in compression and decompression mode.
-stop="<file name>": <file name> is stop file name.
Execution ends when this file exists.
-cm : compression method. Only in compression mode.
-cm="0" : stored compression method.
Input is not treated.
Faster without compression.
-cm="1" : best performance compression method.
Use a one-level zip algorithm.
Fast with less compression.
-cm="2" : normal compression method.
Use a one-level zip and ascii-base algorithms.
Nominal speed with nominal compression.
-cm="3" : better compression method.
Use a multi-level zip and ascii-base algorithms.
Slower speed with better compression.
-cm="4" : maximum compression method (default).
Use a multi-level zip and ascii-base algorithms
with final compression.
Slowest speed with best compression.
-aesek : AES encryption key (if not specified doesn't encrypt).
Only in compression and decompression mode.
-aesek="<key>" : <key> is the encryption key for AES algorithm.
<key> must be 16 characters and must contains numbers,
alphabetics and jolly characters (e.g.: aWsE&158zXcV$375).
Compressed input is encrypted first to output.
-actionFile : action file. Only in archive mode. If not specified, list contents.
-actionFile="<file name>" : <file name> is the name of the action file
where are stored actions below.
Action file syntax :
-search : archive file search
-search="<file name>" : <file name> is the name of the file to search.
-insert : archive file insert
-insert="<file name>" : <file name> is the name of the file to insert.
-replace : archive file replace
-replace="<old file>" -replaceWith="<new file>": <old file> is the name
of the file to replace, <new file> is the name of the file
to replace with.
-remove : archive file remove
-remove="<file name>" : <file name> is the name of the file to remove.
-rename : archive file rename
-rename="<old name>" -renameWith="<new name>": <old name> is the old name
of the file, <new name> is the new name to rename with.
-virtual : virtual actions (doesn't modify archive, just simulate).
Works with output file with ".vrt" extension. Only in archive mode.
Examples:
Under Windows:
<Command Shell> -mode="c" -cm="4" -aesek="aWsE&158zXcV$375" -R -h -rp -log="C:\myarchive.tc.log" -stop="C:\mystopfile.txt" -part="5000000" "C:\myarchive.tc" "C:\ACE\"
<Command Shell> -mode="d" -aesek="aWsE&158zXcV$375" -log="C:\myarchive.tc.log" -stop="C:\mystopfile.txt" "C:\NEW_ACE\" "C:\myarchive.tc"
<Command Shell> -mode="a" -aesek="aWsE&158zXcV$375" -actionFile="C:\myactionfile.act" -log="C:\myarchive.tc.log" -stop="C:\mystopfile.txt" "C:\myarchive_new.tc" "C:\myarchive.tc"
C:\myactionfile.act:
-insert="C:\Documents and Settings\Administrator\Documents\Images\20383.jpg"
-replace="\20383.jpg" -replaceWith="C:\Documents and Settings\Administrator\Documents\Images\220px-Barack_Obama.jpg"
-remove="\xxx.zip"
-rename="\amico" -renameWith="\ggg"
Under Unix:
<Command Shell> -mode="c" -aesek="aWsE&158zXcV$375" -cm="4" -R -h -rp -log="/myarchive.tc.log" -stop="/mystopfile.txt" -part="5000000" "/myarchive.tc" "/ACE/"
<Command Shell> -mode="d" -aesek="aWsE&158zXcV$375" -log="/myarchive.tc.log" -stop="/mystopfile.txt" "/NEW_ACE/" "/myarchive.tc"
<Command Shell> -mode="a" -aesek="aWsE&158zXcV$375" -actionFile="/myactionfile.act" -log="/myarchive.tc.log" -stop="/mystopfile.txt" "/myarchive_new.tc" "/myarchive.tc"
/myactionfile.act:
-insert="/Documents/Images/20383.jpg"
-replace="/20383.jpg" -replaceWith="/Documents/Images/220px-Barack_Obama.jpg"
-remove="/xxx.zip"
-rename="/amico" -renameWith="/ggg"
ˆ Go Up ˆ
ˆ Go Up ˆ