Page 1 of 1

Move, copy and archive the copied files

PostPosted: Wed Sep 07, 2016 7:55 am
by carycrusiau
Hi there,

I bought Hazel yesterday and, so, I'm pretty new to it. Here's what I try to do without success: I want to drop Adobe Illustrator (.ai) files in a folder, move these files in an sub-folder with the name 'AIs', copy the same files in another folder with the name 'ZIPs' and, then, archive each files in the 'ZIPs' folder individually.

Image

How to do that?

TIA

Re: Move, copy and archive the copied files

PostPosted: Wed Sep 07, 2016 12:10 pm
by Mr_Noodle
I think it should be straightforward. Use a sequence of Sort into subfolder, Copy, Archive. I suggest giving it a try and post back here if you run into specific problems.

Re: Move, copy and archive the copied files

PostPosted: Thu Sep 08, 2016 2:55 am
by carycrusiau
Thanks! It works. In fact, I thought the 'Archive' action at the end would archive all the files and not only the copied ones :roll:

Re: Move, copy and archive the copied files

PostPosted: Thu Sep 08, 2016 6:03 am
by carycrusiau
Another question.

Here is my current rule:

Image

All the actions work fine except the second ('Open'). For now, I have 10 files but only a few (4 or 5) of them are correctly opened by the ‘Default Application’. What's wrong?

TIA

Re: Move, copy and archive the copied files

PostPosted: Thu Sep 08, 2016 10:34 am
by Mr_Noodle
It might be that the application is too slow opening the files. You can try adding a delay by using a shellscript:
Code: Select all
    sleep 5


Where "5" is the number of seconds to pause.

Re: Move, copy and archive the copied files

PostPosted: Thu Sep 08, 2016 10:53 am
by carycrusiau
Thanks! Will give this a try…