Re: Get entire contents
Re: Get entire contents
- Subject: Re: Get entire contents
- From: Ron Bishop <email@hidden>
- Date: Mon, 27 Oct 2003 15:12:31 -0600
I've had good luck using the Satimage OSAX - "list files" - to get file
paths.
For even faster results, I've used the UNIX commands (in "do shell
script") "find" if you need file paths and "ls" if you just need file
names and piped the results through GREP.
Also, in OS X I've found running scripts as applications rather than
compiled scripts rids me of memory problems.
Ron Bishop
Macintosh Systems Administrator
The Kansas City Star
1728 Grand Boulevard
Kansas City, MO 64108
816/234-4943
On Monday, October 27, 2003, at 01:19 PM, John Adam Bloom wrote:
Hello all!
Sorry about length. I probably brought this one on myself soo....
I'm at a client's office and I'm on digest, so any replies to me
directly <email@hidden> would be greatly appreciated. Feel free to
ridicule me otherwise and I'll get with the laughter on the digest when
I can catch up.
Thank you all in advance:
OS 10.2.8
Telling app "Finder" to:
get entire contents of folder "disgustingly long name folder with no
business on a machine" of the desktop
chokes with "Finder out of memory error" between 400 and 415 nested
files at varying depths.
Works same way on G4 Server 10.2.8 w/256 MB RAM as it does on my Al 12"
10.2.8 w/640 MB RAM.
Tried Arthur Knapp's most non-heinous FastDirFiles(f) which burped
while trying to coerce exceedingly long folder path to string
I'm pretty sure I'll have to go the recursive route. Some files are
over 15 levels deep. Any recommendations / snippets are much
appreciated.
A few questions:
Known limitation on data size of variable in AS?
Path name length limitation in AS?
Known limitation on Finder memory?
Total item count issue?
_______________________________________________
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.