Just wondering if it's possible to have a script move film files to a specific folder based on the alphabet?
Eg Scream 4 would get moved to e:\movies\s\
Avatar would get moved to e:\movies\a\
Cheers



echo '[[389/2323]] Nice Movie' | tr -c -d 'a-zA-Z0-9' | awk '{ print toupper(substr($1,1,1)) }'








Making sure NZB was processed successfully...
Sab NZB processing completed without error. Preparing to process...
You need to specify your final destination directory in the INI file.[Paths]
;===========================================================================
; Full Path to Final Destination Directory - Use Trailing Backslash
; Example: "D:\Movies\"
;===========================================================================
FinalDir="G:\Downloads\Complete\"
[Renaming]
;===========================================================================
; Move 'The' to end of folder name. 0 = NO, 1 = YES
; Example: The Greatest Movie Ever
; 0 = D:\Movies\T\The Greatest Movie Ever
; 1 = D:\Movies\G\Greatest Movie Ever, The
;===========================================================================
RenameThe=0



friet wrote:Thanks for the help but unfortunately it still doesn't work. I changed the destination folder in the ini file to a new folder (so no longer my completed folder). The scripts folder is correct in the config and the exe and ini are in the same folder.
This is what I have in config - categories:
It picks up the script, so that folder must be correct.

Return to Post-Processing Scripts