scripts icon indicating copy to clipboard operation
scripts copied to clipboard

rclone upload

Open memnos opened this issue 6 years ago • 3 comments

Hello, do you know if is there the possibility to add in logs also the name of the file it has been uploaded in this line? echo "$(date "+%d.%m.%Y %T") RCLONE UPLOAD FINISHED IN $(($(date +'%s') - $start)) SECONDS" | tee -a $LOGFILE

Tnx

memnos avatar Mar 16 '18 15:03 memnos

In this line no, but rclone log does have all upload files listed.

ajkis avatar Mar 18 '18 09:03 ajkis

Can you tell me what should i add to the command line to have also file names?

memnos avatar Mar 18 '18 10:03 memnos

You could just read the folder before rclone start eg FileList=$(find "/my upload path/" -type f -mmin +15) and then after rclone finish just print it out in same log echo "$FileList" | tee -a "$LogFile"

ajkis avatar Apr 13 '18 13:04 ajkis