organizebydate-conflict-resolve-filename-version - Filename conflict resolver script for organizebydate



NAME

organizebydate-conflict-resolve-filename-version - Filename conflict resolver script for organizebydate(1)


SYNOPSIS

organizebydate-conflict-resolve-filename-version [OPTIONS] SOURCE TARGET


DESCRIPTION

This is a helper programm used by organizebydate(1) as a filename conflict resolver command. It signals that the SOURCE is already equivalent to the TARGET if their SHA-256 checksums match. If not, then sets a new target file name for organizebydate(1). The new target includes a version number in between the file's basename and extension, taking into account any already existing versioned file names, so no files gonna be overwritten (unless there is a race condition with other processes writing to the target directory).


OPTIONS

-s STR

Set STR as the string separating the filename (basename) from the version number. Default is dot: ..

-t STR

Set STR as the string separating the version number from the filename suffix (extension). Default is empty, so the version number is followed by the dot directly which is the part of the suffix, if there is an extension.


EXAMPLES

 organizebydate-conflict-resolve-filename-version -s '(v' -t ')' ...


SEE ALSO

organizebydate(1)

 organizebydate-conflict-resolve-filename-version - Filename conflict resolver script for organizebydate