How to archive a copy of a folder without deleting folder

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

Moderator: Mr_Noodle

I'm trying to develop a rather simple backup system that involves archiving a copy of a folder whose contents have been modified within a certain period of time and saving it to a backup external disk. What should be rather simple is complicated by the fact that Hazel "deletes" the archived folder once it's been zipped. I don't want to have to unzip the folder every time it is backed up. In fact, I'd like to just move the zipped file to the backup disk. I have had to use 'copy' instead of 'move' because then the problem is much worse: I have to copy the zip file again to the original local folder and unzip it to recover its contents. I'm obviously doing something wrong but I have been unable to find the way to do this by looking at the documentation.

Here is the rule I created:

https://pasteboard.co/St5Cn7TztWc4.png
jmfontana
 
Posts: 12
Joined: Mon Oct 25, 2021 10:58 am

How about copying first, then archiving?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:How about copying first, then archiving?


I guess that would imply creating an additional rule for the folder where the files are copied to, right?

I thought about that but expected there would be an easier way to do that. Archiving, copying and deleting the archive seemed a bit more intuitive.
jmfontana
 
Posts: 12
Joined: Mon Oct 25, 2021 10:58 am

When doing a copy, subsequent actions in the same rule apply to the copy.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:When doing a copy, subsequent actions in the same rule apply to the copy.


OK, I must obviously be doing something wrong but here's the rule I created:

https://i.postimg.cc/YCnZbDRT/SCR-20230615-ommj.png

This rules is supposed to monitor a folder containing another folder with the name 'CICA_WORKING_NEW'. If the contents of the folder are modified, I would like for the folder to be zipped and moved (only the zipped file) elsewhere. Right now I have 'copy' instead of 'move' for safety but it should still work.

This does not do anything, though. Nothing is copied. Nothing is archived. Nothing is moved.
jmfontana
 
Posts: 12
Joined: Mon Oct 25, 2021 10:58 am

Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results of the tests there.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support