Date: Sat, 06 Oct 2012 02:15:02 +0400 From: =?UTF-8?B?0JDQstGB0YLQuNC9INCa0LjQvA==?= <avstin@mail.ru> To: freebsd-questions@freebsd.org Cc: =?UTF-8?B?TWlrZSBKZWF5cw==?= <mike.jeays@rogers.com> Subject: Re[2]: cksum entire dir?? Message-ID: <1349475302.114021472@f181.mail.ru> In-Reply-To: <20121004222803.459c4fa6@europa> References: <1349400979.263410106@f86.mail.ru> <20121004222803.459c4fa6@europa>
index | next in thread | previous in thread | raw e-mail
Thu, 4 Oct 2012 22:28:03 -0400 от Mike Jeays <mike.jeays@rogers.com>:
>
> "rsync --dry-run" may be a simple solution that would meet your needs? You might need to add the "--delete" option.
>
> Take another look at man rsync.
Yeah, that's exactly what I was looking for! Or to be precise:
rsync -acinv --delete remote.example.com:Directory ParentOfCorrespondingDirectoryOnLocalhost
(The point here being that I was looking for a tool to help me check to see if directories on two separate hosts be in sync, rather than forcibly to sync unidirectionally, as some files are newer on one side and vice versa.)
Thanks!
--Austin
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1349475302.114021472>
