Delaying an action until a file is downloaded

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

Moderator: Mr_Noodle

Delaying an action until a file is downloaded Fri May 25, 2012 10:56 am • by AndrewK
Hi All

Looked and looked but can't find a solution.

Essentially, I want to move a file somewhere after it is completely downloaded.

If I create a rule to move say a dmg file or a music file from the download folder, that is fine if already downloaded. Some files will have the proper extension as it is being downloaded (not *.dmg.download if downloaded via safari) and Hazel tries to move that file over and over with an error!

So - how can you get Hazel to WAIT until it is completely downloaded?

Thanks

Andrew
AndrewK
 
Posts: 7
Joined: Mon Jan 04, 2010 3:03 am

What app is downloading the file? It ultimately is up to the app to indicate the file is busy or incomplete. For popular apps that do this, I can add support but for other apps, they need to use the common mechanisms (BSD file locking, for instance). Otherwise, you'll have to add a rule to not match until the date modified is after some period of time.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support