Renaming Folders

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

Moderator: Mr_Noodle

Renaming Folders Thu May 28, 2020 12:14 am • by danielfeodpn
Hi Everyone,

New to using Hazel and just have a question around renaming folders.

Currently moving a macOS file server over to Box and have to change all the files and folders to remove unsupported characters ( \ / | and spaces at the start and end of file/folder names). I have successfully created a rule that finds and renames all the files with the incorrect characters and spaces but I can't get it to do folder names.

My current rules are
- Go into subfolders
- Incorrect names rule (https://www.icloud.com/iclouddrive/0i2o ... 2.12.12_pm)

Anyone know how to make a rule that can check folder names in all levels and remove the unsupported characters!

Thanks :)
danielfeodpn
 
Posts: 1
Joined: Thu May 28, 2020 12:06 am

Re: Renaming Folders Fri May 29, 2020 10:44 am • by Mr_Noodle
The subfolder rule probably already matches folders so it won't ever get to the second one. You'll need to add a Continue action to the first rule.
Mr_Noodle
Site Admin
 
Posts: 11251
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support