creating symlinks
creating symlinks
When creating symlinks to mounted folder shortcut has leading ../../../../../folder
Where it should be /mnt/folder/
How can I fix this?
Where it should be /mnt/folder/
How can I fix this?
Re: creating symlinks


Re: creating symlinks
Shell: Select all
filebot -rename -r "/mnt/remote/rd/movies" -no-xattr --db TheMovieDB -non-strict --action symlink --output "/mnt/symlinks/import" --format {jellyfin.id}
Code: Select all
../../../../../mnt/remote/rd/movies/movie_name
Code: Select all
FileBot 5.1.3 (r10185)
JNA Native: 6.1.1
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7z/16.02 unrar/6.11
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2024-05-12 (r962)
Groovy: 4.0.15
JRE: OpenJDK Runtime Environment 11.0.22
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 6 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
HW: Linux 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: : AMD EPYC 7282 16-Core Processor / MemTotal: 25 GB / MemFree: 18 GB / MemAvailable: 19 GB
STORAGE: ext4 [/] @ 1.2 TB | fuse.rclone [/mnt/remote/rd] @ 1,125 TB
UID/GID: uid=1000(user) gid=1000(user) groups=1000(user),27(sudo),115(docker)
DATA: /home/user/.filebot
Package: DEB
License: FileBot License P61955801 (Valid-Until: 2025-06-01)
Done ヾ(@⌒ー⌒@)ノ
Re: creating symlinks
This does not work, no symlink created. Rather copies files over to destination
Re: creating symlinks


Re: creating symlinks
Console Output: Select all
$ filebot -script fn:properties --def net.filebot.symlink=absolute
Update user-defined System Properties
* Set net.filebot.symlink = absolute
Store user-defined System Properties
* Write /home/user/.filebot/system.properties
#FileBot System Properties
#Tue May 28 09:49:54 CEST 2024
net.filebot.symlink=absolute
Shell: Select all
filebot -rename -r "/mnt/remote/rd/movies/Moovie.2023.1080p.WEBRip.x264-Group" -no-xattr --db TheMovieDB -non-strict --action symlink --action keeplink --output "/mnt/symlinks/import" --format {jellyfin.id}
Re: creating symlinks
I have tested now without --action keeplink & symlink was created correctly, will test a bit further before doing entire folder
Re: creating symlinks
You are using --action keeplink by accident:
NOTE: If you specify the same option twice, then the last one counts.
--action keeplink will indeed MOVE the file and then create a symlink to the new file path at the old file path. BE AWARE THAT THE FILES WERE MOVED and NOT COPIED.
Shell: Select all
--action symlink --action keeplink
