Re: Getting a subset list of files
Re: Getting a subset list of files
- Subject: Re: Getting a subset list of files
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 03 Apr 2011 15:35:14 -0400
If the files are all in a single folder, not in any subfolders inside
that folder or anything, there's no need for find, or even ls. Just
use the shell wildcard feature.
set prefix to "\"MACSCRIPT Digest $(date +%Y)\""
set matchingFiles to paragraphs of (do shell script "cd " & (quoted
form of POSIX path of folderToSearch) & " && printf \"%s\\n\" " &
prefix & "*")
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden