Hide ignored files messages while syncing

While syncing a lot a files with rclone with verbosity mode (-v not -vv) enabled messages like "Duplicate object found in source - ignoring" or "Duplicate object found in destination - ignoring" can be pretty annoying and make reading the output harder to know what been copied or removed
Is there a way to hide those kind of messages?

run dedupe. Its telling you there are issues with duplicate files.

rclone dedupe remote:

What if the source is read-only?

Then there isn't a lot you can do with the output but it is identifying a valid potential issue.

You can grep them out though.

rcone copy a: b: -vv 2>&1 | egrep -v "Duplicate object found"

or whatever is similar on windows...

I used to do something similar in my logs like this:

LOGFILTER="eading|Sizes identical|Unchanged skipping|time the same|Excluding from sync|transfer non file/directory|Excluded from sync|Size and MD5 of src and dst objects identical"

rclone -v --drive-use-trash=false copy $REMOTE $REMOTE2 2>&1 | egrep -v "$LOGFILTER"

1 Like

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