Re: Fast Way Of Crunching Through Files
Re: Fast Way Of Crunching Through Files
- Subject: Re: Fast Way Of Crunching Through Files
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 15 Oct 2004 11:02:32 -0500
On Oct 15, 2004, at 10:19 AM, Steve Suranie wrote:
I need to clean up files for our Digital Asset Management system.
There's about 5000 files and some of them have names with space in
them which is incompatible with some of the software used in our
workflow. Is there a faster way than looping through each character of
each file to see if it equals ASCII Number 32?
set rootdir to "/Users/akw" --root directory of the file hierarchy you
wish to examine
set spaced_files to do shell script "find " & rootdir & " -name \"* *\""
spaced_files
If you need administrator privileges to access any of the folders in
your hierarchy, you can add "with administrator privileges" to the end
of the second line.
_______________________________________________
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