Page 1 of 1

How to copy folder, only if folder exists at destination

PostPosted: Mon Aug 16, 2021 9:02 am
by dsburfitt
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!

Re: How to copy folder, only if folder exists at destination

PostPosted: Mon Aug 16, 2021 10:22 am
by Mr_Noodle
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.