I use rsync quit a lot for making backups (mirrors) on my system.
Now I wonder, if it's possible to run rsync in a "dummy" mode, so
that I get a list of files that *would* be changed if I ran rsync
properly.
I looked at the man page, but could not find an answer. Is there
anybody who can help me?
Thanks in advance!
Regards,
Hans.
--
Regards,
Hans.
Look for the --dry-run option. It should do what you want.
--
Jon Solberg (remove "nospam." from email address).
> On 2009-12-14, Johannes D.H. Beekhuizen <jbee...@duinheks.nl> wrote:
>> Now I wonder, if it's possible to run rsync in a "dummy" mode, so
>> that I get a list of files that *would* be changed if I ran rsync
> Look for the --dry-run option. It should do what you want.
It seems to do exactly what I want. I just did bnot see it :((
Thank you very much!
--
Regards,
Hans.
i usually use -n --stats
-n is the short option variant of --dry-run
Look at the -n cq --dry-run option: perform a trial run with no changes made
Do not forget to give all the other options you WOULD be using,
like especially the --delete* ones.
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M....@tudelft.nl - phone: +31-15-278 82525 **
*******************************************************************