• 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
Re: [~ot] those pesky invisible folders ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [~ot] those pesky invisible folders ...


  • Subject: Re: [~ot] those pesky invisible folders ...
  • From: Gnarlodious <email@hidden>
  • Date: Fri, 08 Oct 2004 10:34:22 -0600

Entity Brian Johnson spoke thus:

> 1. does /usr 'really' have some other path that's not obvious?
It appears to be exactly where you see it, ay the root level.

Here's a script to toggle invisibles:

do shell script "defaults read com.apple.Finder | grep AppleShowAllFiles"
if (result as string) contains "= 1;" then
    do shell script "defaults write com.apple.Finder AppleShowAllFiles '0'"
else
    do shell script "defaults write com.apple.Finder AppleShowAllFiles '1'"
end if
delay 1

---  quit and reactivate the Finder to use the new preferences.
tell application "Finder" to quit
delay 1
tell application "Finder" to activate


> 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??

http://www.osxfaq.com/man/1/find.ws
There are some examples at the end of the page.

the great thing about "find" is you can use wildcards and expressions in the
file specifier.

-- Gnarlie

 _______________________________________________
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

References: 
 >[~ot] those pesky invisible folders ... (From: Brian Johnson <email@hidden>)

  • Prev by Date: Re: Passing calls to an AS app via shell?
  • Next by Date: Re: [~ot] those pesky invisible folders ...
  • Previous by thread: Re: [~ot] those pesky invisible folders ...
  • Next by thread: Re: [~ot] those pesky invisible folders ...
  • Index(es):
    • Date
    • Thread