Skip to content

Instantly share code, notes, and snippets.

@nocash
Created October 6, 2011 21:55
Show Gist options
  • Save nocash/1268796 to your computer and use it in GitHub Desktop.
Save nocash/1268796 to your computer and use it in GitHub Desktop.
File handling rules for AOM.
#RENAME
DO SET '%ann'
IF E(!^[\d]+) DO ADD ' - %enr'
ELSE IF X(!1) DO ADD ' - %enr'
IF I(ver) DO ADD '%ver'
IF E(!^[\d]+) DO ADD ' - %epn'
ELSE IF E(^Part \d of \d$) DO ADD ' - %epn'
DO ADD ' - %src[%res](%vid.%aud)[%grp]'
#MOVE
IF P(^[dD].*) DO SET 'd:\my documents\anime\'
ELSE IF P(^[eE].*) DO SET 'e:\anime\'
#ELSE IF P(^[gG].*) DO SET 'e:\anime\'
DO ADD '%ann\'
#MOVE 2
DO SET 'g:\'
DO ADD '%ann\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment