積丹尼 Dan Jacobson
2018-Dec-30 08:40 UTC
--dry-run won't say where the files are going to go
Try as we may (--dry-run), it still won't tell us where it intends to put the files, $ rsync --dry-run --remove-source-files --relative --verbose --itemize-changes -Cavz Maildir/new /tmp/ sending incremental file list delta-transmission disabled for local transfer or --whole-file cd+++++++++ Maildir/ cd+++++++++ Maildir/new/>f+++++++++ Maildir/new/1546157908.1392_1.jidanni7total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 155 bytes received 94 bytes 498.00 bytes/sec total size is 320 speedup is 1.29 (DRY RUN) Guess we'll just have to cross our fingers... rsync version 3.1.2 protocol version 31 (In fact there is no option to show where the files will go, --dry-run or not.)
/tmp/Maildir/new/1546157908.1392_1.jidanni7 Also, don't use -z on a local copy. Rsync is dumb enough to do what you tell it to. On 12/30/18 3:40 AM, 積丹尼 Dan Jacobson via rsync wrote:> Try as we may (--dry-run), it still won't tell us where it intends to put the files, > > $ rsync --dry-run --remove-source-files --relative --verbose --itemize-changes -Cavz Maildir/new /tmp/ > sending incremental file list > delta-transmission disabled for local transfer or --whole-file > cd+++++++++ Maildir/ > cd+++++++++ Maildir/new/ >> f+++++++++ Maildir/new/1546157908.1392_1.jidanni7 > total: matches=0 hash_hits=0 false_alarms=0 data=0 > > sent 155 bytes received 94 bytes 498.00 bytes/sec > total size is 320 speedup is 1.29 (DRY RUN) > > Guess we'll just have to cross our fingers... > > rsync version 3.1.2 protocol version 31 > > (In fact there is no option to show where the files will go, > --dry-run or not.) >-- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: https://sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/rsync/attachments/20181230/3051cc9b/signature.sig>