Home » Questions » Computers [ Ask a new question ]

In Snow Leopard, how do I make hidden directories visible?

In Snow Leopard, how do I make hidden directories visible?

I’ve got some folders that I copied from a friend’s old iPod. (They’re the F00, F01 folders that the old iPod used to store music files).

Asked by: Guest | Views: 491
Total answers/comments: 1
Guest [Entry]

"From Terminal.app:

SetFile -a v F00 F01

You can see the raw attribute data with:

xattr -l F00 F01

SetFile is in the Developer Tools package. If you can't install that, you can try to manipulate the extended attributes directly using xattr.

A directory whose only extended attribute is invisibility looks like this:

com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

If your xattr output matches that, you should be safe just deleting the com.apple.FinderInfo attribute:

xattr -d com.apple.FinderInfo F00

If it doesn't exactly match, you should be safe rewriting the attribute after subtracting that '4' from that position:

mac% xattr -l F00
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 40 10 00 00 00 00 00 00 |........@.......|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
mac% xattr -wx com.apple.FinderInfo 0000000000000000001000000000000000000000000000000000000000000000 F00
mac% xattr -l chgfndrcom.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020"