pauldreik / rdfind

find duplicate files utility
Other
986 stars 81 forks source link

Option to create relative symlinks instead of absolute? #103

Open catharsis71 opened 2 years ago

catharsis71 commented 2 years ago

The "-makesymlinks" option creates absolute symlinks which are kind of gross

I always have to do a "symlinks -orc" after to convert them to relative symlinks and if I forget to do this and upload them to my server as-is it causes tons of issues

Could there be an option to create the symlinks as relative instead of absolute?

HanabishiRecca commented 6 months ago

This is especially useful now, as actual linux-firmware installer uses rdfind and requres extra hoops to make it work.

https://gitlab.com/kernel-firmware/linux-firmware/-/blob/b9d2bf23459e7dea7811b867ad189359ad0e4409/copy-firmware.sh#L100-105