Sync withouth delete local files

hi
my Drive
movies/movie1.mkv
/movie1.nfo
/movie1.jpg
i use this command
rclone sync Drive: /media/movies --filter ".jpg" --filter ".nfo"
result
media/movies/movie1.jpg
/movie1.nfo
after y put manually my file
media/movies/movie1.jpg
/movie1.nfo
/movie1.strm
is there any way to keep syncing nfo and jpg without deleting my local "strm" files? (I want to synchronize in case I delete any folder on the drive)

rclone sync Drive: /media/movies --filter ".jpg" --filter ".nfo" --delete-excluded "*.strm"

would this work?

hello,
you can test this yourself using this flag

https://rclone.org/docs/#n-dry-run

thanks . i Will try

do not think that is correct use of filter
you need to add + or - to each filter.

try https://rclone.org/filtering/#include-include-files-matching-pattern
--include *.{png,nfo}

as per https://rclone.org/filtering/#delete-excluded-delete-files-on-dest-excluded-from-sync
i was suprised that your original command was not using --dry-run and i had to suggest it

1 Like

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