Relative symlinks

All your suggestions, requests and ideas for future development
Post Reply
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Relative symlinks

Post by verysofttoiletpaper »

Is there anyway of making filebot create symlnks with relative paths instead of absolute?

I'm requesting this because when accessing symlinks which are shared (via nfs, afp, etc) the only way to make them work is f they are relative.

Thanks
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: Relative symlinks

Post by verysofttoiletpaper »

If not, I guess I could run this utility after filebot http://linux.die.net/man/8/symlinks
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Relative symlinks

Post by rednoah »

With r1698 I'm gonna create symlinks with relative link targets if possible, or absolute link targets otherwise for cross-volume links.
:idea: Please read the FAQ and How to Request Help.
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: Relative symlinks

Post by verysofttoiletpaper »

Glad to see Filebot improving :)
2devnull
Posts: 26
Joined: 09 Feb 2016, 02:07

Re: Relative symlinks

Post by 2devnull »

How to force use of absolute?

EDIT: Actually this wouldn't work for the issue I am facing. I kinda need to have a custom location this points to. Reason is that the location in my Docker container is different from what the FTP client will see since I am using NFS mounts to bind mount into the container where downloaded files are shared but FTPing directly to the NFS hosts to retrieve the files. This all worked well with hardlinks, but now I want to save downloaded files directly to a mergerfs share and it is giving the dreaded EXDEV (Invalid cross-device link) error.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Relative symlinks

Post by rednoah »

You'll probably have to rewrite the relative links yourself.
:idea: Please read the FAQ and How to Request Help.
Post Reply