Copy recently saved file to new folder

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

Moderator: Mr_Noodle

Copy recently saved file to new folder Tue Feb 21, 2012 3:21 pm • by ryansebiz
I'd like to create a rule that:

  • Copies "index.html" if it was recently saved (within the last minute or earlier)
  • Paste "index.html" in a different folder
  • Replace the existing "index.html" file

I've made a couple rules that seem to accomplish this (screenshot below).

My problem is that the rule does not run. If I Preview Rule Matches "index.html" matches up with the rule correctly (screenshot below), but it only runs if I manually click "Run Rules Now."

How can I get this rule to run as soon as the file is saved (or within one minute of being saved)?

Image

Image
ryansebiz
 
Posts: 18
Joined: Sun Sep 14, 2008 9:43 pm

Re: Copy recently saved file to new folder Thu Feb 23, 2012 11:37 am • by Mr_Noodle
First off, please keep posts like this to the support forums. The sticky article at the top of the Tips forum points this out.

The current version of a Hazel may take more than a minute to catch the change. You might want to change the condition to something like "Date modified is after date last matched" which will catch changes since the last time.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Copy recently saved file to new folder Wed Feb 29, 2012 7:02 pm • by ryansebiz
I updated my settings and this is taking around three minutes after file save to run automatically.

Anything else I can try to increase the speed?
ryansebiz
 
Posts: 18
Joined: Sun Sep 14, 2008 9:43 pm

Re: Copy recently saved file to new folder Wed Feb 29, 2012 10:56 pm • by Pe8er
Yes, wait for 3.0 release. Patiently :)
Pe8er
 
Posts: 21
Joined: Sun Nov 06, 2011 12:52 pm


Return to Support