P
P
pcdesign2020-06-23 09:58:33
linux
pcdesign, 2020-06-23 09:58:33

How to disable checking for the contents of a file in rsync, and take into account only the file name?

Here is a command in the cron that syncs images from one server to another:

/usr/bin/rsync  -avz  --append-verify  --progress [email protected]:/home/pictures/ /home/SECOND/pictures/


I want to shake pictures in /home/SECOND/pictures/. But this is useless because rsync will overwrite the file the next time it starts.
How to make it sync only by the file name and not check the content?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2020-06-23
@pcdesign

--ignore-existing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question