if file is found, copy file X in that folder...

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

Moderator: Mr_Noodle

hi guys,

i have no idea how to solve the following:

1. if folder has "content.txt"
2. copy file "master.indd" from path "/Users/xyz/Dropbox/fl/Automator/" to that folder that has "content.txt"

any idea how to noodle this?

thanks!
Last edited by vloryan on Wed Aug 13, 2014 5:29 pm, edited 1 time in total.
vloryan
 
Posts: 25
Joined: Thu May 29, 2014 5:00 pm

For #1, you can do a nested condition. Hold down option and click on the + button to create a new condition. There, you can select a target for the nested condition. You can select "any of its sub-files". Then under the nested condition, you can add a condition like "Name is content.txt".

For #2, though, you'll need to write a script since Hazel knows nothing about this master.indd file.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron