Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rename images (optional add comments)



Jan Bultereys wrote:

I would like to write a script which renames images.
Here is a one-line shell scropt I use to change filename suffixes from
my camera to lowercase:

find ~/Desktop/ -type f -name \*JPG -exec sh -c 'mv "$1"
"${1//JPG/jpg}"' -- {} \;

-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Rename images (optional add comments) (From: Jan Bultereys <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.