Nothing is built in to either, as far as I know, that makes this a
On 8/10/11 1:05 PM, "Neal Smith" <Neal.Smith at perrigo.com> wrote:
one-click setup. You'd need to script something.
Are you interested specifically in .psd and .ai files or file size or
something else?
The command line utility "find" will probably get you what you're asking.
Something like:
find /Users/username -name *.psd
This assumes your users are not administrators and can only create files
within their own home folders. It returns something like:
/Users/username/Documents/Login window pictures/LoginWindowTemplate.psd
--
William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492
Try using Spotlight via the mdfind command; it should be much faster than find. You can also use Spotlight query syntax to find any file with the Photoshop or Illustrator file type, even if the user has munged the filename extension.
mdfind -onlyin /Users/username 'kMDItemKind="Photoshop Document" || kMDItemKind="Adobe Illustrator document"'
--
Ben
I take that back - at least on my 10.7 system, the kMDItemKind attribute depends on the file extension, and is not accurate if the extension is changed.
On Aug 10, 2011, at 5:11 PM, Ben Gollmer wrote:
--
Ben
you may also look at mdfind if your user's hard drives have been indexed by spotlight.