1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-08 19:43:58 +00:00

sync: Implement --suffix-keep-extension for use with --suffix - fixes #3032

This commit is contained in:
Nick Craig-Wood
2019-03-10 16:50:28 +00:00
parent 3c4407442d
commit 28230d93b4
7 changed files with 73 additions and 9 deletions

View File

@@ -821,6 +821,16 @@ then the files will have SUFFIX added on to them.
See `--backup-dir` for more info.
### --suffix-keep-extension ###
When using `--suffix`, setting this causes rclone put the SUFFIX
before the extension of the files that it backs up rather than after.
So let's say we had `--suffix -2019-01-01`, without the flag `file.txt`
would be backed up to `file.txt-2019-01-01` and with the flag it would
be backed up to `file-2019-01-01.txt`. This can be helpful to make
sure the suffixed files can still be opened.
### --syslog ###
On capable OSes (not Windows or Plan9) send all log output to syslog.