Method one, Command mode
The previous OS X system can start or turn off the display of the system's hidden files using the following two commands:
The code is as follows |
Copy Code |
Defaults write Com.apple.Finder appleshowallfiles Yes && killall Finder//Show hidden files Defaults write Com.apple.Finder appleshowallfiles no && killall Finder//Do not show hidden files
|
After upgrading to the OS X 10.9 Mavericks version, these two commands need to be modified to become the following command:
The code is as follows |
Copy Code |
Defaults write Com.apple.finder appleshowallfiles Yes && killall finder//Show hidden files Defaults write Com.apple.finder appleshowallfiles no && killall finder//Do not show hidden files
|
Cause: OS X 10.9 Mavericks need to change the finder to "finder", first letter to lowercase "f"
You can also try another way of drawing an interface
1. We click "Go" above to go to "computer" or folder, as shown in the picture. :
2. Then enter the folder that we want to set to show hidden files:
3. After entering, press command Apple key +f and the search bar will be displayed on the pane:
4. Then we will see that there is a "kind kind" selected as "other":
5. When you select "Other", pop up a new search window, find the following "File not visible files invisible" item, tick on the back of the tick:
6. Then click "OK OK" to return to the folder, we can see that the hidden file has been shown