Subject: Re: [Name Mangler Talk] find files and replace the full name of the file

From: Rob Griffiths <[email-masked]>
Date: Wed, 19 Oct 2011 11:19:18 -0700

On Oct 18, 2011, at 7:15 PM, Brad Allen wrote:

> copy.jpg", etc... I want to rename each one of those "...copy.jpg"
> files to "folder.jpg". Automator's rename action cannot do this

Do you actually want "folder.jpg", or do you want [name of parent folder].jpg?

> replace the entire file name with "folder.jpg" Any way for Name
> Mangler to do what I need it to?

Maybe...can you send an example showing a few folders/files? Either a screenshot, or just a simple list:

Folder: ABC DEG HWIW
Files: photo1.jpg, photo1_copy.jpg

Folder: SFJW RTF JSF
Files: photoABC.jpg, photoABC_copy.jpg

etc.

Thanks;
-rob.

---

From: Brad Allen <[email-masked]>
Date: Tue, 18 Oct 2011 19:15:39 -0700 (PDT)

I have a large amount of folders. Each folder contains a single .jpg
that is named a random name (e.g. "random_name1.jpg",
"random_name2.jpg", etc..) I used Automator to find each .jpg and
duplicate it. So now, each folder contains the original .jpg and has
a .jpg with a common name of "random_name1 copy.jpg", "random_name2
copy.jpg", etc... I want to rename each one of those "...copy.jpg"
files to "folder.jpg". Automator's rename action cannot do this
because it can only rename a single file, not multiple files. I tried
Name Mangler but all I can get it to do is to find the files I want to
name but it changes them from random_name1 copy.jpg to random_name1
folder.jpg. So I don't want to replace only the part I'm finding, I
want to find files based on the name containing "copy" and then
replace the entire file name with "folder.jpg" Any way for Name
Mangler to do what I need it to?