Page 1 of 1

rule to affect a folder

PostPosted: Mon Oct 02, 2006 8:48 pm
by pinetree
how can i get hazel to work on a folder?

say, i point it to a downloads folder, and inside that directory is a bunch of folders:

cat_01
dog_01
mouse_02
cat_02

how can i have hazel automatically move all folders with "_01" in the name to another directory?

thanks!

PostPosted: Tue Oct 03, 2006 12:27 am
by Mr_Noodle
I'm assuming you want to move the folder itself, and not its contents.

The rule would be:

"if name ends with 01, move file to <some folder>"
where <some folder> is the other directory.

You could make it more specific (in case, for instance, you have files that may end in "01") and make the rule:

"if name ends with 01 and type is folder, move file to <some folder>"

Let me know if that works for you.

PostPosted: Tue Oct 03, 2006 12:54 am
by pinetree
thanks for taking the time to reply.

yeah, i had figured out the logic that far, but was (am) having issues with some folders being moved, and others not.

but, i think i'll do some more testing before asking any more silly questions.. ;)

PostPosted: Wed Oct 04, 2006 4:38 pm
by Mr_Noodle
If you are still having problems, you can try out some of the troubleshooting tips.

Also, you shouldn't be scared to ask "silly questions". I'd rather have you up and running than to sit there stuck.