Maybe try... rsync -avn --exclude=transfer / /transfer/ > sync_files.txt
This is completely untested, but in theory is nicer about symlinks etc, and excludes transfer/ from a comparison with itself. - Rog > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Humphries > Sent: Tuesday, 1 June 2004 9:58 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] Comparing partition contents > > I want to essentially copy the files on one RH7.2 machine > onto another one, but without overwriting the basic OS files > (eg, drivers, program versions, etc). We have a poorly > documented application that we need to copy (and flesh out > the documentation whilst we're at it). > > Most of it's done, but I want to check by creating a list > comparing the contents of one partition (which has been > totally copied into a directory on the new machine called > /transfer) with the root filesystem. > > I tried "rsync -rn /transfer / >sync_files.txt", but the file > has a very large list of lines saying "skipping non-regular > file transfer/[filename]". > > The files I knew to be different aren't listed at all. > > Can anyone suggest what I'm doing wrong - or a better way to > achieve the same result? > > Edwin Humphries, > Ironstone Technology Pty Ltd > [EMAIL PROTECTED] > www.ironstone.com.au > Phone: 02 4233 2285 > Fax: 02 4233 2299 > Mobile: 0419 233 051 > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
