Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old Feb 11, 2013, 02:22 PM   #1
537635
macrumors regular
 
Join Date: Mar 2009
CLI truncate filenames

I would like to create an automator workflow and inside a shell script, which would rename files:

123456789.jpg -> 456.jpg
etc.

All the files have the same name lenght and I would like to truncate the names with using only the middle characters (6 of them).

Help appreciated!
537635 is offline   0 Reply With Quote

 
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Icon for CLI / X11 apps? richyw Mac Basics and Help 0 Mar 4, 2014 05:56 PM
How to get filenames back for videos Umbrarian iOS 7 4 Sep 21, 2013 01:54 PM
Get CPU/GPU temperature on Apple TV 2 from CLI kraades Apple TV and Home Theater 2 Jul 9, 2012 10:13 AM

Forum Jump

All times are GMT -5. The time now is 04:40 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC