What is the problem you are having with rclone?
I am using rclone
with -v
to get information about the files transferred. The goal is that when the script ends (either it finished or I terminated it) I can count the # of lines in the log file to see how many files were transferred.
I know I can just grep for lines that start with DATE TIME INFO but I wanted to first make sure I am not missing some obvious way to just not print the stats.
What is your rclone version (output from rclone version
)
rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Debian 10
Which cloud storage system are you using? (eg Google Drive)
BackBlaze
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone \
-v \
--fast-list \
--links \
--config="~/.config/rclone/rclone.conf" \
"${filterOptions[@]}" \
--backup-dir "${DESTINITATION_FILE_BACKUP_PATH}" \
--suffix ".$(/bin/date +\%Y\%m\%d\%H\%M\%S)" \
sync \
/ \
"${DESTINITATION_PATH}" \
>> "$LOG_PATH/rcloneBackup.log" 2>>"$LOG_PATH/rcloneBackup.err"
The rclone config contents with secrets removed.
[bb]
type = b2
account = ...
key = ...
[bbe]
type = crypt
remote = bb:...
filename_encryption = standard
directory_name_encryption = true
password = ...
password2 = ...
A log from the command with the -vv
flag
Paste log here