scripts
scripts copied to clipboard
rclone upload
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
In this line no, but rclone log does have all upload files listed.
Can you tell me what should i add to the command line to have also file names?
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"