Hi all, I've got a problem with rsync 2.6.2 on Solaris/SPARC (one system is Solaris 8, the other is Solaris 9). I'm trying to get a list of files that have changed on one server (a development web server) and another (a live web server). I am using rsync as follows :- rsync -Icrn --exclude='.svn' --stats -e "ssh" [source dir] [user@webserver:dest dir] As far as I understand, this should stop rsync from using "quick" checks such as file size and modified time (-I), and forces it to look at the checksums of each file (-c), as well as missing out any Subversion directories (.svn). However, each time I try this, instead of showing only the files that have changed, it returns a list of every file in the source directory. Most of these files are identical on both servers - a check using gmd5sum on both systems confirms this. The same thing happens when I use different criteria, such as --size-only. Any ideas what I'm doing wrong, or what I should be doing ? Thanks in advance, -Mark
On Thu, Jul 22, 2004 at 11:22:10AM +0100, Mark Round wrote:> rsync -Icrn --exclude='.svn' --stats -e "ssh" [source dir] > [user@webserver:dest dir]> Any ideas what I'm doing wrong, or what I should be doing ?What you should do is to drop the -I option and just use -c. The -I option tells rsync to transfer everything. ..wayne..
> What you should do is to drop the -I option and just use -c. The -I > option tells rsync to transfer everything.This doesn't have any change - it still transfers everything :( -Mark ----------------------------------------------------------------------- This E-mail is from IPC Media Ltd whose registered office is at Kings Reach Tower, Stamford Street, London SE1 9LS, registered number 53626. The contents and any attachments to it include information that is private and confidential and should only be read by those persons to whom they are addressed. IPC Media accepts no liability for any loss or damage suffered by any person arising from the use of this e-mail. Neither IPC Media nor the sender accepts any responsibility for viruses and it is your responsibility to check the email and attachments (if any). No contracts may be concluded on behalf of IPC Media by means of e-mail communications. If you have received this e-mail in error, please destroy and delete the message from your computer. For unbeatable savings on magazine subscriptions and great gift ideas visit www.ipcsubs.co.uk/IZAF