Symlink to Directory?
Symlink to Directory?
There is probably a way to do this but after searching I couldn't find it. I want Filebot to create a symbolic link to a directory containing compressed media files. For single media files it works great, but when I try to get it to do a directory it just tries to create a file.
Manually for a directory like the following:
D:\Blah.2014.Numbers.Letters\
-blah.2014.numbers.letters.r01
-blah.2014.numbers.letters.r02
-blah.2014.numbers.letters.rar
I would just type: mklink /D "Blah (2014)" "D:\Blah.2014.Numbers.Letters"
Which would create a symbolic link to that directory named Blach (2014)
Is this possible with Filebot?
			
			
									
						
										
						Manually for a directory like the following:
D:\Blah.2014.Numbers.Letters\
-blah.2014.numbers.letters.r01
-blah.2014.numbers.letters.r02
-blah.2014.numbers.letters.rar
I would just type: mklink /D "Blah (2014)" "D:\Blah.2014.Numbers.Letters"
Which would create a symbolic link to that directory named Blach (2014)
Is this possible with Filebot?
Re: Symlink to Directory?
FileBot doesn't let you process archive files.
You can force FileBot to process folders instead of files:
https://www.youtube.com/watch?v=WbHPC0o4Uqo
			
			
									
						
										
						You can force FileBot to process folders instead of files:
https://www.youtube.com/watch?v=WbHPC0o4Uqo
Re: Symlink to Directory?
I'm not sure I understand, but this might be what I'm looking for. Is there a way to do this with the CLI?rednoah wrote:FileBot doesn't let you process archive files.
You can force FileBot to process folders instead of files:
https://www.youtube.com/watch?v=WbHPC0o4Uqo
Re: Symlink to Directory?
No, via basic CLI. Yes, via Groovy. 
Here's an example:
http://www.filebot.net/forums/viewtopic ... &t=5#p2211
			
			
									
						
										
						Here's an example:
http://www.filebot.net/forums/viewtopic ... &t=5#p2211
Re: Symlink to Directory?
No way to tell the CLI that it's a directory & not a file? That's disappointing. =[ Was hoping to avoid using scripts.rednoah wrote:No, via basic CLI. Yes, via Groovy.
Here's an example:
http://www.filebot.net/forums/viewtopic ... &t=5#p2211
Re: Symlink to Directory?
I gave you a link... Why didn't you follow the link?
			
			
									
						
										
						Then you'll add a --action symlink and it'll probably work.Rename All Media Folder by Folder wrote:Rename movie folders:Code: Select all
filebot -script fn:renall "path/to/movies" -non-strict --db TheMovieDB --def target=folder
Re: Symlink to Directory?
I followed the link, but as mentioned I was hoping not to have to use scripts. But even doing so, I tried the followingrednoah wrote:I gave you a link... Why didn't you follow the link?
Then you'll add a --action symlink and it'll probably work.Rename All Media Folder by Folder wrote:Rename movie folders:Code: Select all
filebot -script fn:renall "path/to/movies" -non-strict --db TheMovieDB --def target=folder
FILEBOT -script fn:renall --def target=folder "G:\Rents\TV\Suits.S04E09.720p.HDTV.X264-DIMENSION" -non-strict --action symlink --format {n}\{n}_{s00e00}_{t} --output "G:\TV"
only to produce:
Done ?(?????)?
With no link created. No errors, so I'm not sure what I'm doing incorrectly.
Re: Symlink to Directory?
You're out of luck then. The folder-mode behavior is only supported for movie folders. It won't work for per-episode folders. And since your movie folders don't contain any video files folder-mode won't even work for your movies neither.
Best to ditch those archives.
			
			
									
						
										
						Best to ditch those archives.

Re: Symlink to Directory?
rednoah wrote:You're out of luck then. The folder-mode behavior is only supported for movie folders. It won't work for per-episode folders. And since your movie folders don't contain any video files folder-mode won't even work for your movies neither.
Best to ditch those archives.

Is there a way to feed in an argument to filebot, have it search for the match, & return the name it finds? If so I could feed it the directory name & do the mklink /D part with a regular batch file.
Re: Symlink to Directory?
No, via basic CLI. Yes, via Groovy (your own custom script, so not easy).
Best to ditch those archives.
			
			
									
						
										
						Best to ditch those archives.


 Please read the
 Please read the