Skip to content

Instantly share code, notes, and snippets.

@geoah
Last active August 29, 2015 14:02
Show Gist options
  • Save geoah/fa74cdd0a2af57ea13fd to your computer and use it in GitHub Desktop.
Save geoah/fa74cdd0a2af57ea13fd to your computer and use it in GitHub Desktop.
Filebot

Filebot

Formats

Tv / Anime

{n.ascii().replaceAll(/[:!?,.]/,'').replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().space('.')}/{episode.special ? 'Special/' : "Season."+s+"/"}{n.ascii().replaceAll(/[:!?,.]/,'').replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().space('.')}.{"S"+s.pad(2)}E{e.pad(2)}{'.'+resolution}{'.'+vc}{'.'+ac}{'['+group+']'}{'['+crc32+']'}

Movies

...

Automation

Filebot executable on OSX can be found at /Applications/Filebot.app/Contents/MacOS/filebot

Rename Tv / Anime

filebot -script fn:watcher -extract -rename /full/path/to/downloaded/tv/ --output /full/path/to/tv/ --format <escaped format>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment