I wrote a command that successfully copies files from the last two days from one folder to another. Unfortunately once all the files it copies it then continues to execute copying all the other folders that don’t have files in them matching the criteria. Is it possible to preven this?
Command line I use: I added the min-size to see if it would work around it but it didn’t
rclone -c -v --min-size 100M --filter-from /mnt/disks/media/new.txt --max-age 2d --min-age 1h copy /mnt/disks/media/crypt/TV /mnt/disks/media/crypt/Current\ TV
You mean it copies the folders, but not the files?
This is a bit unfortunate but yes that is what it does at the moment.
I’d like to fix this at some point, however what you could do is run rclone rmdirs /mnt/disks/media/crypt/Current\ TV after you have finished which will delete any empty directories.