Rclone copy alert when a file not copied provide in regex

What is the problem you are having with rclone?

I am using rclone to copy file from remote server to S3 objecy storage , via reading regular expression to pick the files, as this is daily operations task , I wanted something like whatever expression i have given if any files with that expression not copied it will alert error in the logs like file not exist in source path or something like that which can help me to figure out from whole day of copy what files missing

Run the command 'rclone version' and share the full output of the command.

Which cloud storage system are you using? (eg Google Drive)

I am pulling the files from Linux servers reading regular expression file and copying it to minio object storage bucket

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy --max-depth=1 --include=$j --sftp-host=Linux-sefver  :sftp:$i --sftp-user=admin  bucket:/s3/

The rclone config contents with secrets removed.


A log from the command with the -vv flag

Paste  log here

Hi Suhail,

Perhaps you want to make a log file by adding:

--log-file=mylogfile.txt

More info here:
https://rclone.org/docs/#log-file-file
https://rclone.org/docs/#log-level-level

or perhaps you want to check the rclone exit code:
https://rclone.org/docs/#exit-code

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.