[GRLUG] Rsync link-dest?
L. V. Lammert
lvl at omnitec.net
Sat Jul 9 09:10:38 EDT 2011
On Sat, 9 Jul 2011, Jeff DeFouw wrote:
> Do you have a slash after the source weekly.0? If not, it will copy
> weekly.0 to [path]/daily.0/weekly.0 and then the structure won't match
> the link-dest. You'd want this to copy only the contents of weekly.0:
>
> rsync -avH --link-dest=[path]/weekly.0 [path]/weekly.0/ [path]/daily.0
>
Tried it both ways - neither produces a target directory.
Lee
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the grlug
mailing list