Page 1 of 1
Filebot CLI - Ignore Sample files
Posted: 22 Sep 2019, 17:16
by habber
Hi,
I have been using FileBot CLI (licensed) for a while to move files.
However, my script keeps moving and renaming the Sample files, and not the movie (it probably overrides the movie).
I have looked at the forums and got under the impression that this was not possible due to the exclude blacklist?
Can someone tell me what i am doing wrong?
This is my script for Movies:
Code: Select all
filebot -rename %2 --format "E:/Media/%1/{n}/{n}.{lang}" -extract --action duplicate -non-strict --log-file "E:/Media/amc.log" -r
Please let me know if any other information is required, to help me!
Re: Filebot CLI - Ignore Sample files
Posted: 22 Sep 2019, 18:26
by rednoah
1.
What does the log say? Can you give examples of sample file paths?
Please read
How to Request Help.
2.
Generally speaking, you can always use the
--file-filter option to include / exclude files based on arbitrary rules of your choosing:
viewtopic.php?t=4222
Presumably, you'll want to exclude files with the word
sample in the file path, or perhaps just exclude all all small files?
Re: Filebot CLI - Ignore Sample files
Posted: 22 Sep 2019, 18:34
by habber
Hi rednoah,
Thanks for the quick answer!
I have totally missed the --file-filter option.
Thanks for pointing me in that direction, i will look into that immediately!
This was the log for the specific file i experienced the issue with today.
Code: Select all
Auto-detect movie from context: [F:\Downloads\Movies\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY\Sample.mkv]
Stripping invalid characters from new path: E:/Media/Movies/Spider-Man: Far from Home/Spider-Man: Far from Home.
Stripping invalid characters from new path: E:/Media/Movies/Spider-Man: Far from Home/Spider-Man: Far from Home.
Stripping invalid characters from new path: E:/Media/Movies/Spider-Man: Far from Home/Spider-Man: Far from Home.
Stripping invalid characters from new path: E:/Media/Movies/Spider-Man: Far from Home/Spider-Man: Far from Home.dan
[DUPLICATE] from [F:\Downloads\Movies\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY.nfo] to [E:\Media\Movies\Spider-Man Far from Home\Spider-Man Far from Home..nfo]
[DUPLICATE] from [F:\Downloads\Movies\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY\Sample.mkv] to [E:\Media\Movies\Spider-Man Far from Home\Spider-Man Far from Home..mkv]
Skipped [F:\Downloads\Movies\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY.mkv] because [E:\Media\Movies\Spider-Man Far from Home\Spider-Man Far from Home..mkv] already exists
[DUPLICATE] from [F:\Downloads\Movies\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY\Spider-Man.Far.From.Home.2019.Custom.DKSubs.1080p.BluRay.x264-UNiTY.srt] to [E:\Media\Movies\Spider-Man Far from Home\Spider-Man Far from Home.dan.srt]
Processed 3 files
Re: Filebot CLI - Ignore Sample files
Posted: 22 Sep 2019, 18:53
by rednoah