I'm a rclone newbie and need a professional advise on my task
We sync SFTP and Google drive. Rclone copy works well and there is no issues at all. Thank you guys for a nice tool!
I will try to describe my task in details, but it similar like this request , I found on your forum (Group files based on regex/custom code)
- We "copy" SFTP directory (source ) to a Google Drive Folder (remote).
- After , we need the new files to organize according to the filters (like, if filename is request and has more than 3 lines or XXX xharacters ... or if directory name contains DD/MM/YYYY) and place those files into the separate structured directory on the remote or Google Drive.
So , my question is - can I save the new files synced on Google Drive to a separate folders for scripting when rclone copy command is running ? I didn't find the option in manual, how to save the new files during the sync into multiply/separate destination folder. Or to be more clear - when I sync/copy source:/folder1 and destination:/folder1 and need to copy only new files into destination:/folder3
Or, maybe, rclone have the feature, according to the filters, put the files into a separate folder on the remote ? Please , advise me!
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-1022-aws (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.2
- go/linking: static
- go/tags: none
rclone copy SFTPServer:/folder1 GDrive1:folder1 -P -v
Thanks in advance!