mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
8fb9eb2fee
If a file has two (or more) extensions and the second (or subsequent) extension is recognised as a valid mime type, then the suffix will go before that extension. So `file.tar.gz` would be backed up to `file-2019-01-01.tar.gz` whereas `file.badextension.gz` would be backed up to `file.badextension-2019-01-01.gz` Fixes #6892