How to copy folder, only if folder exists at destination

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

Moderator: Mr_Noodle

Good morning all! Long time hazel user, but i use it in the most SIMPLE way possible...Today im looking for a trickier ask

How can I get hazel to copy a folder (and contents), only if a folder of the same name exists at the destination.

e.g.: Source Folder has 5 subfolders. The destination has 4 of those subfolders of the same name, without content. How do I get it to copy the content of those 4 subfolders without including the content of the fifth that is not there.

Your help is much appreciated!
dsburfitt
 
Posts: 3
Joined: Mon Sep 11, 2017 12:05 pm

You might be able to do this if source and destination are close together (like sibling folders). Otherwise, not doable with built-in conditions. You'll need to use a script in that case.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support