Searching in nested folders
Searching in nested folders
- Subject: Searching in nested folders
- From: Bis <email@hidden>
- Date: Thu, 6 May 2004 18:28:28 +0100
hi
i was hoping someone would be kind enough to show me some kind of
algorithm for the following problem.
I need to search a folder and all subfolders within the folder for
quark files and, if any quark files are found, copy them to another
folder.
What I can't work out is a general algorithm which says:
1) get a list of all the items in the source folder
2) if any of the items is a quark file copy it to the destination folder
3) if any of the items is a folder get a list of its items
4) if any of these items is a quark file copy it to the destination folder
and so on and so forth until all subfolders have been searched for
quark files which, if found, have been copied to the destination
folder.
Does this make sense?
--
Many thanks in advance
Bis Dasgupta
_______________________________________________
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.