Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > AppleScript to clean file names?

AppleScript to clean file names?
Thread Tools
dtc
Dedicated MacNNer
Join Date: Sep 2000
Location: Bay Area, CA, USA
Status: Offline
Reply With Quote
Feb 21, 2001, 12:32 PM
 
Does anyone have an AppleScript that can recusively go through folders and strip off non-PC compatible (ie $, ", ?, etc) characters?

Thanks.
     
Forum Regular
Join Date: Nov 2000
Location: Madison , WI
Status: Offline
Reply With Quote
Feb 21, 2001, 10:46 PM
 
I'm sure it's out there, but I'd look at this:
http://www.publicspace.net/ABetterFinderRename/

my company uses it to ensure compatability with our PC clients. It works very nicely with a decent search and replace.
     
RGS
Guest
Status:
Reply With Quote
Feb 22, 2001, 08:44 AM
 
Apple provides scripts that can handle tasks such as yours, perhaps already installed on your hard drive. You can download them at Apple's Free AppleScript Scripts web page (ie, Replace Text In Item Names).

If you want to write your own script, I suggest that you add Leonard Rosenthol's RegEx Commands OSAX to your Scripting Additions folder. RegEx Commands allows you to easily add search and replace functions to scripts including using "Regular Expressions."
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:02 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2