Need some input/ideas/possibly help on a folder action script

I’m trying to figure out a way to automatically move files from my downloads folder to their appropriate folder in my HTPC setup.

The idea I have, currently, is to use a folder action to look at the contents of the folder, cross reference the name of the show by partial keyword or title as listed in a flat file (not sure I need a database here) and then move the show to a folder location described in the flat file.

Something like:
Keyword(s),Location
Battlestar, /Volumes/Storage/TVshows/BSG/ or

Keywords separated by comma, path after colon
Battlestar,S01:/Volumes/Storage/TVshows/BSG/

This would be my first “semi serious” applescript project. I’ve done lots of basic stuff but feel that I’m probably gonna need some guidance here if I want to have something working relatively soon.

Thanks for your input!

:confused:

Really? Nothing?

Hi,

of course it is possible, the major problem is to distinguish and parse the file names.
In your example you have already Battlestar and Battlestar,S01

The text format is no problem, a comma separated or tab separated plain text file is sufficient