help with subfolders

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

help with subfolders Sun Dec 17, 2006 7:14 pm • by caravan
Two questions:

I have a folder called Images which contains some .jpg files as well as various subfolders which also contain .jpgs. I'd like to write a rule that would gather up all these images and copy them to another folder called Images_2.

Both folders are on the desktop. I see that Hazel can deal with subfolders but I guess I'm not doing something correctly, as I can't get it to work. Would appreciate suggestions.


Second, is it possible to write a rule that would search everywhere for .jpgs (HD and all folders on the desktop, as well as all sub-folders) and copy them all into one destination folder? If so, how would I do that?

Thanks,
bk
caravan
 
Posts: 1
Joined: Sun Dec 17, 2006 7:07 pm

Fri Dec 22, 2006 9:26 pm • by Mr_Noodle
Sorry for the late response. Been traveling around for the holidays so I haven't been online as much.

From what I can tell, you want two rules: one to make Hazel descend into subfolders and another to deal with the jpeg files. The first rule would look like "If Kind is Folder, run rules on folder contents". The second one would be something like "If extension is jpg, copy (or move)". Let me know if that works for you.

As for the second case, I'm not sure if if it's a good idea to have Hazel do that across your whole drive. For something like this you want to do it interactively and even then it might not be such a good idea. You can create a smart folder which matches your criteria and move those files where you want. The catch is that it's not a good idea to move certain files, especially if they are part of some file package such as an application. In such cases, moving the file out of an application will break it. The same goes for certain documents that may contain jpgs. You can delve into file packages by selecting the "Show Package Contents" action when you have such a file selected in Finder. In short, you don't want to indiscriminately move jpgs around.
Mr_Noodle
Site Admin
 
Posts: 8427
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support