Move files with filenames contained in .txt list?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

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
orthicon
 
Posts: 2
Joined: Sat Jan 23, 2016 11:38 pm

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.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks.

I'll try the scripting route.
orthicon
 
Posts: 2
Joined: Sat Jan 23, 2016 11:38 pm


Return to Open Discussion