I try to delete subfolders and its files older than 1 day.
I have the following architecture:
-Subdirectory1 (older than 1d)
---file1 (older than 1d)
---file2 (older than 1d)
-Subdirectory2 (not older than 1d)
---file3 (not older than 1d)
---file4 (not older than 1d)
rclone delete /home/pi/data/pictures_OK/ --rmdirs --min-age 1d
but it's only deleting file1/file2. I want to delete Subdirectory1 too.
I tried with purge:
rclone purge /home/pi/data/pictures_OK/ --min-age 1d
but it remove the folder "pictures_OK" (not just the subfolders)
Any ideas ? Thanks