• 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 files in Finder: why so slow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming files in Finder: why so slow?


  • Subject: Re: Renaming files in Finder: why so slow?
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Wed, 03 Sep 2003 22:22:23 -0500

on 9/3/03 11:02 AM, Nigel Garvey at email@hidden
wrote:

[snip]

> Trying my own take, I've come up with a script that's nearly twice as
> fast with my test hierarchy as the one I posted on Sunday. I've no idea
> where the speed comes from, but I'm looking into it! ;-) Again, this is
> only intended for pre-X systems. I haven't tried it in X.

[script snipped, see Nigel's last post]


Nigel,

As the original poster of this thread I just wanted to take a moment to
thank you, and also the others who responded. Your previous script was
faster than my scripting attempt and this one is signifcantly faster. Using
my script and a test folder of approx. 220 items (folders and files) took
around 287 seconds. This latest script of yours does it in around 88.

I really appreciate the fact that you provided a script that...

A. Showed how to eliminate the Finder for obtaining the file names, using
TIDs and {":"}

B. Illustrated how to use Emmanuel's suggestion of appending the list.

Both very nice tips that can be put to use in other routines.

Also. I experimented with your script and used JD's suggestion of a third
party addition (GTQ Rename) to rename the files instead of using Finder. The
time was further reduced. On the same test folder it took just 39 seconds!

I still don't understand why the Finder is so slow.

Thanks again all.

--
Bob.Kalbaugh
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Renaming files in Finder: why so slow? (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: sending data from one AppleScript App to another
  • Next by Date: Re: tell application "FileMaker Pro/Developer"
  • Previous by thread: Re: Renaming files in Finder: why so slow?
  • Next by thread: Re: Renaming files in Finder: why so slow?
  • Index(es):
    • Date
    • Thread