From: Johannes D.H. Beekhuizen on
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
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
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
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
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 **
*******************************************************************