![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rename a lot of files again | ajp7701 | Shell Programming and Scripting | 11 | 03-31-2008 08:36 PM |
| Script to rename files | Dinkster | UNIX for Dummies Questions & Answers | 5 | 01-22-2008 08:55 AM |
| script to rename files with current date and copy it. | logic0 | UNIX for Dummies Questions & Answers | 6 | 05-01-2007 06:13 AM |
| Rename Files with a script ? | yoveln | OS X (Apple) | 1 | 02-08-2004 12:45 PM |
| How to rename files? | CompuTelSystem | UNIX for Dummies Questions & Answers | 9 | 05-14-2002 04:28 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Script to rename files
Let me preface this by stating I have absolutely no idea what I'm doing in this arena, but I'm in need of a little help here.
I need to take filenames like this: amwed_0402c-slug~1-cp.jpg And reduce them to slug~1.jpg That is, I need to remove the first 12 and last 3 characters. The characters will frequently be different, but they will always be the first 12 and last three (before the file extension). Anyway, I need to be able to execute this using Automator on the Mac so I can incorporate it into some photoshop actions. Can anyone tell me how to do this? Any help would be much appreciated. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|