• 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
slow moving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slow moving


  • Subject: slow moving
  • From: John McAdams <email@hidden>
  • Date: Wed, 29 Nov 2000 15:30:42 -0700

Below is a little script I wrote to sort through a bunch of dropped
folders and combine like files together in a central folder. But it
is slooooow. Does anybody recommend another way for moving files
around.

TIA
jmc

--test folder names and move files
on move_foldContents(parent_folder)
tell application "Finder"
set sub_folds to every folder of parent_folder
repeat with i in sub_folds
if name of i ends with "100-D" or name of i
ends with "100-F" then
if (count of every file of i) > 0 then
move every file of i to
Combined_100 with replacing
end if
else if name of i ends with "120-D" or name
of i ends with "120-F" then
if (count of every file of i) > 0 then
move every file of i to
Combined_120 with replacing
end if
else if name of i ends with "150-D" or name
of i ends with "150-F" then
if (count of every file of i) > 0 then
move every file of i to
Combined_150 with replacing
end if
else if name of i ends with "280-D" or name
of i ends with "280-F" then
if (count of every file of i) > 0 then
move every file of i to
Combined_280 with replacing
end if
else if name of i ends with "335-D" or name
of i ends with "335-F" then
if (count of every file of i) > 0 then
move every file of i to
Combined_335 with replacing
end if
end if
end repeat
end tell
end move_foldContents


  • Prev by Date: not APPL
  • Next by Date: Re: Applescript differences between OS 8 and 9...
  • Previous by thread: not APPL
  • Next by thread: Re: slow moving
  • Index(es):
    • Date
    • Thread