|
#1
| ||||
| ||||
| Mass rename files...? Say I have a folder full of files with a .gif extension. How can I rename them all to have a .jpg extension easily? Thanks.
__________________ Confucious Say: Jasoco, change your gosh darn SIGNATURE! it's been like that forever! Never disobey Confucious. Jasoco.net - GeekPub Forums |
|
#2
| ||||
| ||||
| I would use terminal to do this personally. The 'mv' command is great for this: Type 'man mv' or check out this link for information. R.
__________________ iBook SE Graphite OSX iMac DV+ OSX Airport Base Station 20GB iPod Bluetooth and t68i |
|
#3
| ||||
| ||||
| here is a script i wrote to kill blanks and remove some naughty chars: Quote:
|
|
#4
| |||
| |||
| Try this: Code: #!/bin/sh for filename in *.gif do newfname="`echo $filename | sed 's/.gif/.jpg/'`" echo "renaming $filename to $newfname" mv $filename $newfname done exit 0
__________________ Author, Learning Unix for Mac OS X (O'Reilly), among other books. Check out http://books.intuitive.com/ |
|
#5
| |||
| |||
| Have you tried Renamer4Mac to batch rename your files? |
|
#6
| |||
| |||
| for i in *.gif; do mv $i `basename $i .gif`.jpg done |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| moving my itunes files to another location | Numbers1820 | Mac OS X System & Mac Software | 2 | December 20th, 2002 10:02 PM |
| Photoshop Q: mass changes to multiple files? | themacko | Design & Media | 4 | December 4th, 2002 11:01 PM |
| Native FTP program? | bighairydog | Apple News, Rumors & Discussion | 17 | November 30th, 2001 02:31 PM |
| Solution: OS X creating "." files on Samba shares | dricci | Apple News, Rumors & Discussion | 0 | November 21st, 2001 11:23 PM |
| Editing plain old text files | Allan Crowson | Mac OS X System & Mac Software | 6 | December 4th, 2000 11:19 AM |