AMC copying full nested folder structure to Unsorted folder

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
slade78
Posts: 2
Joined: 25 Jul 2016, 07:01

AMC copying full nested folder structure to Unsorted folder

Post by slade78 »

Long time user, first time poster. Lately the AMC script has been copying over unmatched media files to the Unsorted folder with the full folder structure from the location the media file was processed from and not just the media file itself. I believe it started occurring when I updated to 4.7, but I can't be sure on that. Here is an example:

Code: Select all

Processing 1 unsorted files
[COPY] Rename [E:\Downloads\Complete\The.Circus.S01E16.720p.HDTV.x264-BATV\the.circus.s01e16.720p.hdtv.x264-batv\The.Circus.S01E16.720p.HDTV.x264-BATV\The.Circus.S01E16.720p.HDTV.x264-BATV.mkv] to [\\192.168.1.102\Drivepool\Unsorted\The.Circus.S01E16.720p.HDTV.x264-BATV\the.circus.s01e16.720p.hdtv.x264-batv\The.Circus.S01E16.720p.HDTV.x264-BATV\The.Circus.S01E16.720p.HDTV.x264-BATV.mkv]
Processed 1 files
The previous behavior was that only the media file itself would be copied to the Unsorted folder. I am not seeing a full copy of the folder structure for successful matches, those are properly renamed and only the media file is copied to the destination. Did a default setting or flag change? I can't think of what I would need to do to revert to the previous behavior. Here is my current AMC command:

Code: Select all

"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "\\192.168.1.102\Drivepool" --log-file amc.log --action copy --conflict skip -non-strict --def "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def excludeList=amc.txt clean=y unsorted=y
Thank you for any help.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC copying full nested folder structure to Unsorted folder

Post by rednoah »

This is the default unsortedFormat:

Code: Select all

Unsorted/{file.structurePathTail}
If you don't like it you can pass in your own unsortedFormat.

e.g.

Code: Select all

--def unsortedFormat="Unsorted/{fn}"
:idea: Please read the FAQ and How to Request Help.
slade78
Posts: 2
Joined: 25 Jul 2016, 07:01

Re: AMC copying full nested folder structure to Unsorted folder

Post by slade78 »

Ah, got it. Thanks for the help!
Post Reply