Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: update mode in 7z..  (Read 4666 times)

0 Members and 1 Guest are viewing this topic.

BM

    Topic Starter


    Rookie

    update mode in 7z..
    « on: April 06, 2008, 05:10:24 AM »
    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...:)


    Dias de verano

    • Guest
    Re: update mode in 7z..
    « Reply #1 on: April 06, 2008, 06:11:55 AM »
    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

    BM

      Topic Starter


      Rookie

      Re: update mode in 7z..
      « Reply #2 on: April 06, 2008, 06:21:47 AM »
      yeah i used that before, but i did't find the one that sets the update mode to "add and replace"

      Dias de verano

      • Guest
      Re: update mode in 7z..
      « Reply #3 on: April 06, 2008, 06:42:06 AM »
      I don't think you can do this in 7zip from the command line.

      BM

        Topic Starter


        Rookie

        Re: update mode in 7z..
        « Reply #4 on: April 06, 2008, 06:48:39 AM »
        thank you Dias for reply