Copying files from multiple sources into a single folder

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

Moderator: Mr_Noodle

Hi,

I have a collection of images that are sorted by date into a set of date named folders like so:
/images/12-03-14/image_1.jpg
/images/12-03-14/image_2.jpg
/images/12-03-14/image_3.jpg

/images/20-03-14/image_4.jpg
/images/20-03-14/image_5.jpg
/images/20-03-14/image_6.jpg

/images/22-03-14/image_7.jpg
/images/22-03-14/image_8.jpg
/images/22-03-14/image_9.jpg

I want to make a copy of them to my screesaver folder like so:
/screensaver/image_1.jpg
/screensaver/image_2.jpg
/screensaver/image_3.jpg
/screensaver/image_4.jpg
/screensaver/image_5.jpg
/screensaver/image_6.jpg
/screensaver/image_7.jpg
/screensaver/image_8.jpg
/screensaver/image_9.jpg

I have a rule set onthe images folder as follows:
if all of the following contitions are met
if all the following contisiton are met of the any of its subfiles of subfolders
kind is image
date created is in the last 1 month
copy to folder "screensaver" (options "if the file exists do not copy the file")
NOTE the copy folder structure option is unchecked.

But try as I may i cannot get Hazel to copy to a single folder. Instead I get:

/screensaver/12-03-14/image_1.jpg
/screensaver/12-03-14/image_2.jpg
/screensaver/12-03-14/image_3.jpg
/screensaver/20-03-14/image_4.jpg
/screensaver/20-03-14/image_5.jpg
/screensaver/20-03-14/image_6.jpg
/screensaver/22-03-14/image_7.jpg
/screensaver/22-03-14/image_8.jpg
/screensaver/22-03-14/image_9.jpg

I think that these settings are not intuative. With copy folder structure UNCHECKED the files should be copied into a single folder.

Can anyone please tell me if this possible with Hazel. It seems like it should be trivial.

kindest regards

Tom
tbrown
 
Posts: 1
Joined: Sun Aug 31, 2014 1:09 pm

Please do not post questions in the Tips forum. The sticky article at the top as well as the forum description tells you not to do this.

While on the topic of sticky articles, check the one at the top of this forum. That tells you how to go into subfolders. In your case, you are copying folders that contain images. To have the rule match the images themselves, see the aforementioned sticky articles.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support