メインコンテンツにスキップ

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 日: 3

過去 30 日: 5

今までの合計 1,585