Displaying 1 result from an estimated 1 matches for "5f7j".
Did you mean:
5f77
2013 Jun 18
1
rsync equivalent of 'cp -al' ?
Hello rsync people
I thought I knew how to use rsync, but I can't work out how to use it to
do the equivalent of
cp -al dir1 dir2
where dir1 and dir2 are both local and on the same disk.
In other words I want to make dir2 a copy of dir1, with every file
hard-linked to its counterpart in dir1.
Why not just use cp? Because I want to be able to do it as a user who
has sudo