• 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: Fast Way Of Crunching Through Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast Way Of Crunching Through Files


  • Subject: Re: Fast Way Of Crunching Through Files
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 15 Oct 2004 09:14:24 -0700


On Oct 15, 2004, at 8: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? Things are working fine but chugging slowly and I'd like to speed up the process. Any suggestions would be appreciated.

set l to {} set f to choose folder tell application "Finder" repeat with x in (files of f as alias list) if name of x contains space then copy contents of x to end of l end if end repeat end tell l

-- Michelle

--
Never play strip Tarot.

_______________________________________________
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: 
 >Fast Way Of Crunching Through Files (From: "Steve Suranie" <email@hidden>)

  • Prev by Date: Re: Mozilla/Firefox Suggestion
  • Next by Date: Re: How to find network computers, use Rendezvous?
  • Previous by thread: Re: Fast Way Of Crunching Through Files
  • Next by thread: Re: Fast Way Of Crunching Through Files
  • Index(es):
    • Date
    • Thread