|
Answer» hi,
how can i set update mode to "add and replace" when compressing files to .7z via cmd command? what is the switch i must use??
Thanks in advance for any help...
Code: [Select]Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>]
<Commands> a: Add files to archive d: Delete files from archive e: Extract files from archive l: List contents of archive t: Test integrity of archive u: Update files to archive x: eXtract files with full pathname <Switches> -AI[R[-|0]]{@listfile|!wildcard}: Include archives -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives -BD: Disable percentage indicator -i[r[-|0]]{@listfile|!wildcard}: Include filenames -m{Parameters}: set compression METHOD -o{Directory}: set Output directory -p{Password}: set Password -r[-|0]: Recurse subdirectories -sfx[{name}]: Create SFX archive -si: read data from stdin -so: write data to stdout -t{Type}: Set type of archive -v{Size}}[b|k|m|g]: Create volumes -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options -w[{path}]: assign Work directory. Empty path means a temporary directory -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames -y: assume Yes on all queries yeah i used that before, but i did't find the one that sets the update mode to "add and replace"I don't THINK you can do this in 7zip from the command line. thank you Dias for reply
|