[Cialug] SOT: rsync newbie

Nathan C. Smith nathan.smith at ipmvs.com
Mon May 2 16:58:17 CDT 2011


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


More information about the Cialug mailing list