跳转到主内容

Hidden files are visible on hard drive

Got in a 17" 2.16 MBP. stock 120 GB hard drive. The hidden files (invisible files) are all showing when I open the hard drive. Booted from a 10.6 disk, ran Disk Utilities with no hard drive problems and repaired permissions. Updated software to 10.6.3. I've forgotten how to turn the visibility of the hidden files on and off. Anyone remember how? Thanks

已回答! 显示答案 我也有这个问题

这是一个好问题吗?

得分 2
添加一条评论

4个答案

已选择的解决方案

Close rab but no cigar. It was actually this:

defaults write com.apple.finder AppleShowAllFiles FALSE

killall Finder

这个答案有帮助吗?

得分 1
添加一条评论
最有帮助的答案

I would say use a program like Onyx or Tinkertool. You can find Onyx here and Tinkertool here. Personally, I like both of these.

这个答案有帮助吗?

得分 2

1条评论:

handy, thanks +

完成的

添加一条评论

Just a clarification to what rab777hp said in the 4th (currently last) comment following his/her response above -- it wouldn't be the bash shell that interprets the "FALSE" / "NO" argument, but the 'defaults' command.

Bash doesn't interpret arguments passed to commands (although it does process them quite extensively, in the course of providing filename globbing, variable substitution, and all of the other shell features it's responsible for), once it's done its processing the resulting argument strings are simply handed off to the command being executed.

It certainly makes a lot of sense that the 'defaults' command considers "FALSE" and "NO" to be equivalent. (Probably "OFF", at least, would also be permissible.) But the responsibility for determining the meaning of those strings rests squarely upon the command's argument-processing code, and thus may vary somewhat based on how different commands are implemented.

这个答案有帮助吗?

得分 1

2条评论:

thanks for the clarification +

完成的

Yeah sorry for the mixup, thanks for the clarification as well. I've never tried ON and OFF, but I've always used TRUE and YES and FALSE and NO interchangeably, as they are.

完成的

添加一条评论

$ defaults write com.apple.Finder AppleShowAllFiles NO

这个答案有帮助吗?

得分 0

3条评论:

Thanks for the try anyway

完成的

Thanks for the vote- but that command actually works, I in fact just retested it now on my system after reading your comment, I'm running 10.6.3, you sure you typed it in right?

完成的

Just tested out your's as well, works fine, from what I know- FALSE and NO are the same the way TRUE and YES are as well. I believe in the bash shell it is the exact same command, and since you're just activating or deactivating (binary possibilities), leaves no room for in between, either works or doesn't work.

完成的

添加一条评论

添加你的答案

mayer 将永远感激不已
浏览统计数据:

过去 24 小时: 0

过去 7 天: 2

过去 30 天: 5

总计 1,585