AUTOMATOR : new folder copy in another directory
Hi
I'm still learning Automar and Applescript.
I'm trying to create an Automator folder action when a new folder is created in my directory.
Specifically I would like when a new folder is created in said directory :
- to create a new (empty) folder with the same name in another specific directory
- and a must would be to add the same tags as the original folder too but I think it's a little too complicated for me
I did this Applescript to create a new folder with the same name within the original one and then I transfer it manually in the other directory.
on run {input, parameters}
repeat with new_folder in input
tell application "Finder"
set f_name to name of new_folder
make new folder at new_folder with properties {name:f_name}
end tell
end repeat
end run
I can't find a way to transfer the new folder automatically. Futhermore it would be more efficient to create it directly in the other directory but I'm not that proficient yet.
Could someone help me ?
Thanks