Bug 8594 - Allow --link-dest argument to be a file
Allow --link-dest argument to be a file
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.0.9
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-10 05:05 UTC by Andrew Pimlott
Modified: 2011-11-10 05:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pimlott 2011-11-10 05:05:56 UTC
If I pass a file as --link-dest, rsync complains "--link-dest arg is not a dir".  But this makes perfect sense and would be useful:

  rsync -a --link-dest=prevfile srcfile dstfile

See also http://stackoverflow.com/questions/7100900/rsync-link-dest-option-for-single-file