AW: Print files which would be transfered by rsync (when syncing two directories)

2014-06-17 Thread Liesinger Horst
] Gesendet: Montag, 16. Juni 2014 21:51 An: Liesinger Horst Cc: rsync@lists.samba.org Betreff: Re: Print files which would be transfered by rsync (when syncing two directories) Hi Horst, thanks for the hint, I made this error because I assembled the block from command history (without testing it

Re: Print files which would be transfered by rsync (when syncing two directories)

2014-06-16 Thread Karl-Philipp Richter
e. > > Best regards > Horst > > -Ursprüngliche Nachricht- > Von: rsync-boun...@lists.samba.org [mailto:rsync-boun...@lists.samba.org] Im > Auftrag von Karl-Philipp Richter > Gesendet: Montag, 16. Juni 2014 14:29 > An: rsync@lists.samba.org > Betreff: Print f

Re: Print files which would be transfered by rsync (when syncing two directories)

2014-06-16 Thread Wayne Davison
On Mon, Jun 16, 2014 at 5:29 AM, Karl-Philipp Richter wrote: > > X=`mktemp` > echo "abc" > $X/1 > echo "abc1" > $X/2 > Y=`mktemp` > echo "abc" > $Y/1 > echo "abc2" > $Y/2 > I'll assume you meant to use -d on your mktemp commands (as another responder *almost* pointed out). > * `rsync --dry

Re: Print files which would be transfered by rsync (when syncing two directories)

2014-06-16 Thread Heiko Schlittermann
Hi, Karl-Philipp Richter (Mo 16 Jun 2014 14:29:04 CEST): > Hi together, > after I read "very often" without even a tiny bit of a contradiction, I > start to have the feeling I have a basic misunderstanding of rsync. > > Assume one want to get a list of files which would have been transfered > by

Print files which would be transfered by rsync (when syncing two directories)

2014-06-16 Thread Karl-Philipp Richter
Hi together, after I read "very often" without even a tiny bit of a contradiction, I start to have the feeling I have a basic misunderstanding of rsync. Assume one want to get a list of files which would have been transfered by rsync if rsync was requested to sync directories X and Y and one does