Closed darrylmorley closed 6 years ago
Its actually rclone not removing empty folders but you could add to script after rclone line
find /path/movies/** -type d -empty -mmin +10 -delete
Thanks
On Fri, 13 Apr 2018, 14:26 Ajki, notifications@github.com wrote:
Its actually rclone not removing empty folders but you could add to script after rclone line find /path/movies/** -type d -empty -mmin +10 -delete
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ajkis/scripts/issues/51#issuecomment-381134611, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdfeUbBsznlv9VF1B0qsnjQIBZybPiFks5toKeNgaJpZM4TD4YR .
@darrylmorley https://rclone.org/commands/rclone_rmdirs/
Stick that on the end of the upload command
Hi,
I'm using your rclone-upload script which does the job well, apart from leaving behind a ton of empty folders.
Am I doing something wrong or is there something I can edit to ensure the folders are removed please?
Thanks