• 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: number of items in a folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: number of items in a folder?


  • Subject: Re: number of items in a folder?
  • From: Pier Kuipers <email@hidden>
  • Date: Thu, 22 Feb 2001 12:40:21 +0000

>We have applescript moving files around depending on what Filemaker decides.
>At present everything goes into one folder. We currently have 1500 pdfs
>there. I am curious as to what may limit us first: no of items or partition
>size (they're image pdfs).
>
>We expect this content to double in quantity in the next year.
>
>Should we be thinking of streaming into sub-folders?

If you're worried about the number of files in one folder, you might
clean it up by using subfolders with the letters of the alphabet.
Here a script snippet I used for that purpose at one stage:

property theAlphabet : {"A", "B", "C", "D", "E", "F", "G", "H", "I",
"J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W",
"X", "Y", "Z"}

tell application "Finder"
set theFolder to choose folder with prompt "Select a Folder:"
open folder theFolder
set x to 1
repeat with i from 1 to 26
set theLetter to ((item x of theAlphabet) as text)
set theList to (every item of front window whose name
begins with theLetter)
if theList is not {} then
make new folder at front window with
properties {name:theLetter}
select theList
try
move selection to folder theLetter of
front window
end try
end if
set x to (x + 1)
end repeat
end tell

Cheers,
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *

2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754

http://www.visualid.com


  • Prev by Date: AW: Using the filter form
  • Next by Date: Reading large files
  • Previous by thread: number of items in a folder?
  • Next by thread: Re: number of items in a folder?
  • Index(es):
    • Date
    • Thread