• 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: Renaming recursively
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming recursively


  • Subject: Re: Renaming recursively
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 20 Jun 2005 16:03:01 -0700

On Jun 19, 2005, at 7:45 PM, Patrick Collins wrote:

I haven't messed with applescript for a while, and just was wondering if
anyone has written anything already that does what I am looking for...


I ran an audio format batch conversion utility that somehow messed up,
and I have about 500 files that are ending in .#0 rather than .wav --
so I am wondering if anyone has written a script that can recursively go
through multiple levels of a directory and search for filenames that
contain a specific thing (in this case a file like
"HBE_12Z-Splash_Pa-Sch_f_D-na.#0" and rename it as
"HBE_12Z-Splash_Pa-Sch_f_D-na.wav" )


Otherwise, I'll just start working on writing something from scratch.

If you're using Tiger, use Automator. What you describe is a two- action workflow:


    - Get Folder Contents (turn on "repeat for each subfolder")
    - Rename Finder Items (replace text ".#0" with ".mp3")

Save it as a Finder plug-in, and it'll show up in the Finder's contextual menu.


--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Renaming recursively (From: "Patrick Collins" <email@hidden>)

  • Prev by Date: Re: display dialog bug
  • Next by Date: Re: "read from" and non-lo-ascii characters
  • Previous by thread: Re: Renaming recursively
  • Next by thread: Re: Renaming recursively
  • Index(es):
    • Date
    • Thread