Is there a best practice for running a program on each changed file during a sync?
Specifically, I want to submit a purge request to my content delivery network for the path of each sync'd file.
Not seeing any provision for this in the rclone sync documentation.
hello and welcome to the forum,
would need to write some kind of script.
rclone copy/sync/move file, then submit purge request
rclone sync/copy/move a lot of files, use a log file
process the log file to get list of files copied and submit multiple purge requests.
rclone check source dest and save output to file.
create list of files that need to be copied,
rclone sync source dest --files-from=files.lst
purge files in
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.