[Cialug] SOT: rsync newbie
Josh More
MoreJ at alliancetechnologies.net
Mon May 2 17:05:13 CDT 2011
Try trailing slashes on both directories.
-----Original Message-----
From: Nathan C. Smith [nathan.smith at ipmvs.com]
Received: Monday, 02 May 2011, 16:58
To: Central Iowa Linux Users Group (cialug at cialug.org) [cialug at cialug.org]
Subject: [Cialug] SOT: rsync newbie
I want to use rsync to copy files from dirone to dirtwo on the same machine. Many of the files already exist in the folder and I just want to make sure they are all there and up-to-date.
The command I am using looks like this:
# rsync --progress --partial --size-only -av /mnt/dirone /dirtwo
But what I am getting is a /dirtwo/dirone full of files. How do I specify just the files and not the whole folder? Using a trailing slash? /
-Nate
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list