From: Johannes D.H. Beekhuizen on 14 Dec 2009 08:12 Hello, 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.
From: Jon Solberg on 14 Dec 2009 08:22 On 2009-12-14, Johannes D.H. Beekhuizen <jbeekhui(a)duinheks.nl> wrote: > Hello, > > 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! Look for the --dry-run option. It should do what you want. -- Jon Solberg (remove "nospam." from email address).
From: Johannes D.H. Beekhuizen on 14 Dec 2009 10:00 Jon Solberg wrote:\\ > On 2009-12-14, Johannes D.H. Beekhuizen <jbeekhui(a)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.
From: goarilla on 15 Dec 2009 06:05 Johannes D.H. Beekhuizen wrote: > Jon Solberg wrote:\\ > >> On 2009-12-14, Johannes D.H. Beekhuizen <jbeekhui(a)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! > i usually use -n --stats -n is the short option variant of --dry-run
From: Eef Hartman on 17 Dec 2009 11:26 Johannes D.H. Beekhuizen <jbeekhui(a)duinheks.nl> wrote: > 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? 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.Hartman(a)tudelft.nl - phone: +31-15-278 82525 ** *******************************************************************
|
Pages: 1 Prev: Recommended package repositories Next: When you're 98, What the hell do you have to lose? hURL |