Re: Rename images (optional add comments)
- Subject: Re: Rename images (optional add comments)
- From: Gnarlodious <email@hidden>
- Date: Fri, 17 Nov 2006 06:17:07 -0700
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NHD5Wj74m3XJdKge3zqfEZh4y7HdjCLD0JtOyQQDdyQnYrhRtX3DwvoiCGtytw8axbrbTOD0rRE0CMZj9dgHMiRyvdFj5mR+ouYJjBO8BIh54aY+IWvfAC7nk4ReN00CEL8hiWLpzFtbU93q/GhvgcKPfkk50hJbw2AeNU8tjrE=
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
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.