Hello,
I've just purchased your software.
And I'm loving it.
But I have a dubt: is it possible to scan a directory and get an exportable list of movies sorted by director'n name (or other variable, like the title)?
Where can I find a complete documentation?
Thanks in advance
listing and sorting...
Re: listing and sorting...
If you're familiar with the command-line, then you can probably make it work.
The filebot -mediainfo command can help you with listing files, but for sorting you'd have to pipe the output to the sort command. On Unix bash You'd just add | sort but on Windows PowerShell it'll be somewhat different.
The command-line documentation has an example for you:
https://www.filebot.net/cli.html
Bindings that are based on movie information (i.e. movie name, director, etc) will only work for files that have previously been processed with FileBot. Please read Metadata and Extended Attributes for details.
The filebot -mediainfo command can help you with listing files, but for sorting you'd have to pipe the output to the sort command. On Unix bash You'd just add | sort but on Windows PowerShell it'll be somewhat different.

https://www.filebot.net/cli.html

-
- Posts: 7
- Joined: 23 Nov 2021, 14:38
Re: listing and sorting...
Thanks for answering! I'll check out the link you've provided and I'll try to... sort it out! 

Re: listing and sorting...
e.g. call filebot with PowerShell and sort the lines of the console output alphabetically:
Code: Select all
$ filebot -mediainfo -r "X:\Movies" --filter "movie" --format "{director} | {movie} | {f}" | Sort-Object
James Cameron | Avatar (2009) | X:\Movies\Avatar (2009).mkv
Richard Schenkman | The Man from Earth (2007) | X:\Movies\The Man from Earth (2007).mkv