• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rename images (optional add comments)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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:
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>)

  • Prev by Date: Re: osxutils and accented chars
  • Next by Date: Filemaker and access/lock/protection
  • Previous by thread: Rename images (optional add comments)
  • Next by thread: Re: Rename images (optional add comments)
  • Index(es):
    • Date
    • Thread