Hello,
I transfer files to an SFTP using “copy --max-age 3d”. This works wonderfully. However, if files that are older than 3 days are inserted into the source, they will (logically) not be transferred. But I would like to transfer this. Can I somehow "override" the filter in this case?
Hey there,
Yeah absolutely, you can override the filter by not specifying the --max-age parameter. This will transfer all files regardless of their age. Alternatively, you can manually remove the files from the source directory after they have been transferred, allowing new files, regardless of age, to be transferred during the next synchronization.
Note that this is only advisable if you're using copy. With sync, it would delete those files from the destination, which I don't think is what you want.