On 7/11/06, Ahmed Ibn Fahdlan <[EMAIL PROTECTED]> wrote:
Scenario ::
on SRC I had A and B dir on the same share. A dir has 100 files while B
is empty.
then rsync to Destination... 100% sucess.
Then all files on A dir has been MOVE to B dir.
What is the rsync option if i dont want to sync the files on source B dir
but rather check
if it the same file with A dir on the destination.
Are you saying
(1) you want to move the files from A to B on the destination
without having to retransfer them from scratch, or
(2) you merely want to compare B on the source to A on the destination, or
(3) something else?
For #1, you can move the files on the destination by hand and follow
up with an rsync to make sure any changes made to the source after the
original move take effect on the destination. For #2, you can run
rsync --dry-run --itemize-changes src/B/ dest/A/
to get a list of all the files that have changed between source B and
destination A.
Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html