Page 1 of 1

Move files with filenames contained in .txt list?

PostPosted: Sat Jan 23, 2016 11:46 pm
by orthicon
Hi all,

I'm pulling my hair out. I have a folder with hundreds of .TIF files; the filenames are the last names of people contained in the TIF graphic. On varying days I want to copy only specific files from that folder based on a text list.

Is there an easy way for Hazel to reference a text list from a text file and copy a file by filename (not tag) that contains words from the text list into another folder?

Thanks,
Brad

Re: Move files with filenames contained in .txt list?

PostPosted: Mon Jan 25, 2016 11:30 am
by Mr_Noodle
That seems like specialized logic so you'd need a script to do that. Otherwise, if there's some other pattern in the filenames you can exploit (like maybe some punctuation after the name), then you can use a match pattern to handle all of those.

Re: Move files with filenames contained in .txt list?

PostPosted: Tue Jan 26, 2016 2:46 am
by orthicon
Thanks.

I'll try the scripting route.