I have a numbers of files and dirs under /data. I want to use rsync to create hardlinks in a backups directory. The /data/dir_1 ... dir_n/backups already exits.
Starting point...
/data/dir_1 ... dir_n/file_1 ... file_n
Ending point...
/data/dir_1 ... dir_n/backups/dir_1 ... dir_n/file_1 ... file_n (hardlinks back to /data/dir_1 ... dir_n/file_1 ... file_n)
Is this possible with just rsync?
Is this possible with just rsync and recursion to replicate for an entire directory hierarchy?