Re: The invisible file in Macintosh?
Re: The invisible file in Macintosh?
- Subject: Re: The invisible file in Macintosh?
- From: Buddy Kurz <email@hidden>
- Date: Fri, 17 Sep 2004 09:06:47 -0700
This little bit of appleScript allows you to easily toggle the visibility of hidden files in the finder.
(Not written by me)
tell application "Finder" to quit
display dialog "Show Hidden Files..." buttons {"ON", "OFF"}
copy the result as list to {buttonpressed}
try
if the buttonpressed is "OFF" then do shell script "defaults write com.apple.finder AppleShowAllFiles OFF"
if the buttonpressed is "ON" then do shell script "defaults write com.apple.finder AppleShowAllFiles ON"
end try
tell application "Finder" to launch
On Sep 16, 2004, at 10:44 PM, wall wrote:
When I open the sysytem volume with Finder, I can only
see Developer, Applications, System, Users,
Library......
But when use "ls" to see the "/", I can see dev, etc,
mach, sbin, usr and other files or folders.
How can I distinguish between the two kind of files,
and show the files like in the Finder ?
Thanks .
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden