Replacing Spaces w/ Underscores

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Replacing Spaces w/ Underscores Tue Apr 30, 2013 2:33 am • by terramarinc
When I download a JPG to my desktop, I would like Hazel to replace any spaces in the file name with underscores. Is this possible? Example: I download a file called "03 05 2013.jpg" and Hazel automatically renames it "03_03_2013.jpg".
terramarinc
 
Posts: 2
Joined: Tue Apr 30, 2013 2:31 am

Re: Replacing Spaces w/ Underscores Wed May 01, 2013 10:57 am • by Mr_Noodle
Use the rename action and in the pattern, click on "name". One of the options is to do text replacements which should do what you want.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Replacing Spaces w/ Underscores Wed May 01, 2013 12:14 pm • by terramarinc
Thanks. I'll give it a shot.
terramarinc
 
Posts: 2
Joined: Tue Apr 30, 2013 2:31 am


Return to Open Discussion