Re: Number of item in a folder under OS X
Re: Number of item in a folder under OS X
- Subject: Re: Number of item in a folder under OS X
- From: Graff <email@hidden>
- Date: Thu, 13 May 2004 11:04:43 -0400
I'm using Mac OS X 10.3.3 and I haven't had a problem with a large
amount of files in a folder in a long time. To make sure that this is
reliable I made a simple AppleScript that creates 150001 files in a
folder:
------
tell application "Finder"
repeat with i from 1 to 15001
set theName to "test"
if (i < 100) then
set theName to theName & "0"
if (i < 10) then
set theName to theName & "0"
end if
end if
set theName to theName & i
make new file at folder ((path to desktop folder as text) & "untitled
folder") with properties {name:theName}
end repeat
end tell
------
No problems at all, I was able to use the folder without any noticeable
slowdown. There are some hard limits to the number of items in a
folder, they are based on the filesystem and a summary can be found
here:
<
http://www.portfoliofaq.com/pfaq/FAQ00002.htm>
It boils down to you can have around 32,767 items per folder on a
normal Macintosh volume. I didn't test it out that far but I assume
that you might see some slowdown with that many files. Anyways, you
have the script - go nuts testing it!
- Ken
On May 13, 2004, at 9:15 AM, stephan wrote:
On OS 9 and before it was not recommended to put more than 500 items
in a
folder because after that the system was to slow. Is it possible to
put more
than 500 items in a folder under OS X, something like more then 15000
items
in the same folder without slowing down the system?
I know that on PC they don't have that problem.
_______________________________________________
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.