| organizebydate-conflict-resolve-filename-version - Filename conflict resolver script for organizebydate |
organizebydate-conflict-resolve-filename-version - Filename conflict resolver script for organizebydate(1)
organizebydate-conflict-resolve-filename-version [OPTIONS] SOURCE TARGET
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).
Set STR as the string separating the filename (basename) from the version number.
Default is dot: ..
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.
organizebydate-conflict-resolve-filename-version -s '(v' -t ')' ...
organizebydate(1)