seahawk1986 schrieb:
Wie sah denn der Aufruf von 7z aus, der diese Ausgabe hervorgebracht hat?
Das steht so in der Hilfe.
-u (Update options) switch
Specifies how to update files in an archive and (or) how to create new archives.
Syntax
-u[-]<action_set>[!{new_archive_name}]
<action_set> ::= <state_action>...
<state_action> ::= <state><action>
<state> ::= p | q | r | x | y | z | w
<action> ::= 0 | 1 | 2 | 3
Parameters
dash (-)
Disables any updates in the base archive.
The term base archive means the archive assigned by "base_archive_name" on the command line. See Command line syntax for more details.
{new_archive_name}
Specifies the path name of the new archive to be created. All options in this switch will refer to this new archive.
If not assigned, then all options in this switch will refer to the base archive of the command.
<state>
Specifies the state of a particular file to be processed.
<state> ::= p | q | r | x | y | z | w
_____________________________________________________________________________________________________________________________________________________________________
<state> | State condition | File on Disk | File in Archive
_____________________________________________________________________________________________________________________________________________________________________
p | File exists in archive, but is not matched with wildcard. | | Exists, but is not matched
_____________________________________________________________________________________________________________________________________________________________________
q | File exists in archive, but doesn't exist on disk. | Doesn't exist | Exists
_____________________________________________________________________________________________________________________________________________________________________
r | File doesn't exist in archive, but exists on disk. | Exists | Doesn't exist
_____________________________________________________________________________________________________________________________________________________________________
x | File in archive is newer than the file on disk. | Older | Newer
_____________________________________________________________________________________________________________________________________________________________________
y | File in archive is older than the file on disk. | Newer | Older
_____________________________________________________________________________________________________________________________________________________________________
z | File in archive is same as the file on disk | Same | Same
_____________________________________________________________________________________________________________________________________________________________________
w | Can not be detected what file is newer (times are the same, sizes are different) | ? | ?
_____________________________________________________________________________________________________________________________________________________________________