Page 1 of 1

Copy All, then Delete Selected Files?

PostPosted: Sat Dec 05, 2020 3:04 pm
by DarkAthena
Hello. Using Hazel 5 on Catalina. What I would like to do is this:

Every couple of months, I need to send some reports out. I gather the PDFs into a folder and then when that folder hits 5 items, it copies those items to another folder where an Automator script zips them and passes them to my email app.

What I would like to do is pass all 5 of those to the copy folder and then delete only 4 of the files from the original folder (one file is a cover letter that has to be sent every single time).

Is there a way to do this? I have everything figured out except how to move 4 of those files to the trash after copying. Thanks for your help!

Re: Copy All, then Delete Selected Files?

PostPosted: Sun Dec 06, 2020 4:21 pm
by EdBurke
I would think something like this would work for you. I added the Date Created line to give you some time to work with the files before they are deleted.

Image

Re: Copy All, then Delete Selected Files?

PostPosted: Mon Dec 07, 2020 9:47 am
by DarkAthena
EdBurke wrote:I would think something like this would work for you. I added the Date Created line to give you some time to work with the files before they are deleted.

Image



Hmmm...that might work. I'll play around some more but I think I might have to break up the rules into different ones.