Shortening file names

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

Moderator: Mr_Noodle

Shortening file names Sat Jun 11, 2016 1:43 pm • by kelpie
Hi
Is there any way Hazel can remove a word from a file name?

For example, if the file name was 'My document edit.txt' can Hazel change it to 'My document.txt', regardless of what that last word might be?

I've been trying to get my head around it and decided it couldn't be done but thought I would check here before finally giving up.

Cheers

Pat.
kelpie
 
Posts: 20
Joined: Mon Mar 14, 2011 7:08 pm

Re: Shortening file names Mon Jun 13, 2016 12:17 pm • by Mr_Noodle
You can probably use match patterns for that (search the help). You can use a custom attribute to match everything but the last word, then use that attribute in the rename action.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support