pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.87k stars 70 forks source link

Support creating relative symlinks #146

Open david-perez opened 1 year ago

david-perez commented 1 year ago

As far as I'm aware, group always emits absolute paths, and hence link --soft, after reading the report, always creates absolute symlinks.

It would be nice if the created symlinks were relative to link location (similar to how ln --symbolic --relative works). That way copying the deduplicated hierarchy to a different filesystem would retain the symlinks instead of breaking them.