Re: [~ot] those pesky invisible folders ...
Re: [~ot] those pesky invisible folders ...
- Subject: Re: [~ot] those pesky invisible folders ...
- From: Martin Orpen <email@hidden>
- Date: Fri, 08 Oct 2004 17:25:06 +0100
on 8/10/04 5:11 pm, Brian Johnson at email@hidden wrote:
> 2. is there a command-line tool (variation on ls?) that will recursively
> search the file tree for a particular file name? and does _it_ dig
> through places like /private and /usr??
The easiest is "locate", but it relies on you having an up-to-date locate
database.
$ locate osascript
/usr/bin/osascript
/usr/share/man/man1/osascript.1
You can use "which" if you're searching for executables:
$ which osascript
/usr/bin/osascript
You can use "find" which will search everything from your current directory
downwards. But it takes a long time if you've got loads of data...
For more information:
$ man locate; man find; man which
You can also use the Finder's Find, but you need to let it know that you
want to search for both invisible and visible items.
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden