Subject: Re: [Name Mangler Talk] Renaming via Snippet

From: Rob Griffiths <[email-masked]>
Date: Tue, 13 Mar 2018 07:11:14 -0700

On Mar 13, 2018, at 5:39 AM, Alexis Serasidis <[email-masked]> wrote:

> *Folder: Naming is „SKU_ArticleNumber"
> - The 6 Photos inside this folder have a random naming but they always end with „_01" to „06“
> - The 6 photos should be renamed by using just the SKU from the folder + some fix naming conventions. 
> Please take a look on the following Excel 
> 
> 
> FOLDER	FOLDER CONTENT	FINAL*
> 4059145260905_12-10081-10_6258_0100	xyz_01	12-10081-10_6258_0100_back_zoom
> Art.Nr.: 12-10081-10_6258_0100	xyz_02	12-10081-10_6258_0100_front_zoom
> SKU: 4059145260905	xyz_03	12-10081-10_6258_0100_PT01_zoom
> xyz_04	12-10081-10_6258_0100_PT02_zoom
> xyz_05	12-10081-10_6258_0100_PT03_zoom
> xyz_06	12-10081-10_6258_0100_PT05_zoom
> 
> I Hope you can help me out because i have really no idea about writing snippets…… 

Are the SKUs always exactly 13 digits? If so, you could use a three-step renaming process, as shown in the attached screenshot. I've also attached this as a Name Mangler action (zipped); unzip it, then double-click, and it should open in Name Mangler.

If the SKU length varies, then it's still possible, but we'll have to use a Find and Replace instead of Remove for the last step ... so let me know, and if necessary, I can provide that version, too.

Once you have it set up, you can use the Presets > Create Preset menu to save this for easy re-use.

*** NOTE: PLEASE test on a copy of your files, just in case this doesn't work as expected! ***

regards;
-rob.

---

From: Alexis Serasidis <[email-masked]>
Date: Tue, 13 Mar 2018 13:39:01 +0100

Hi@ManyTricks Team,

i need your Help in a rename case…
What i want to do is change the name of 6 photos which are inside a Folder*

Thank you very much!!
Alex