cp -al issues
Tim Moore
rsync at nsr500.net
Mon Apr 12 23:31:59 GMT 2004
Max Kipness wrote:
> Hi,
>
> I'm having some strange issues when using cp in my rsync script. It
> seems there may be links breaking or something.
>
> Before running the actual rsync I run the following command in my
> script:
>
> cp -al /backup/Current /backup/$prevday
>
> Then I rsync from the source to /Current
>
> So shouldn't all my previous days have hard links back to the original
> /backup directory?
Perhaps you are thinking of a soft link? See the man pages link(2) and
symlink(2).
More information about the rsync
mailing list