Mr_Noodle wrote:Can you give a more concrete example as to why you need to do this?
Sure.
I have a script. The script converts GIF files to MP4 files. The conversion of GIF files to MP4 files needs time.
My program are able to display out all GIF files that are inside a folder for guests to view. I do not want a GIF file to be shown to a guest when the MP4 conversion is taking place. Only when the according MP4 file is ready, then the GIF file can be displayed to the guest.
So my ideal flow is this
1) GIF file arrive at Folder C. After about 15 seconds, my script runs finish and the according MP4 file arrive at Folder A.
2) Folder A is being watched via Hazel. When a MP4 file is detected in Folder A, the MP4 file is copied to Folder B.
3) Then, Hazel will proceed to Folder C and move the GIF file in Folder C to Folder D.
Folder C: folder in which GIF files will be stored
Folder A: folder in which MP4 files are saved
Folder B: another folder in which MP4 files are copied to.
Folder D: any GIF files in this folder will be displayed to the guests.
Thanks for the help