Remove duplicate folder within a folder

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

Moderator: Mr_Noodle

Remove duplicate folder within a folder Fri May 22, 2015 8:25 pm • by snick803
So I have a repeated folder that holds my content. It looks something like this
Folder A > Folder B > Folder C > Folder C > Filename.txt.
Does anyone know how to move the contents up from the second folder C to the first folder C and then remove the second folder C (now empty)?
snick803
 
Posts: 3
Joined: Fri Mar 28, 2014 12:22 pm

Re: Remove duplicate folder within a folder Mon May 25, 2015 11:26 am • by Mr_Noodle
First off, you'll need to tell Hazel to go into subfolders. See sticky article about that.

From there, you could try some combination of folder level and folder name to do it. It would probably have to be done in two separate rules. One to move the folder up, then one to notice the empty folder and throw it away.
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support