如何在mac版的Eclipse workspace中找到.metadata?
如果有寫過JSP, 會知道它會編譯成.java和.class檔, 而要看到它們要到.metadata裡找,
但是mac不像Windows會顯示出.metadata檔案夾, 而是需要去終端機(terminal)下指令才能顯示:
下面截圖是我在終端機下完指令後出現的樣子:
以下是顯示步驟:
1. 打開terminal
2. 輸入: /Applications/Utilities
3. 接著
有分版本: (參考連結: http://osxdaily.com/2009/02/25/show-hidden-files-in-os-x/) 擷取連結重點如下 -->
Enter the proper command exactly as shown below, choosing for your version of MacOS or Mac OS X:
a.) For showing hidden files and folders in OS X El Capitan 10.11, Yosemite 10.10, and OS X Mavericks 10.9, use the following command string to show hidden files:
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
b.) For showing hidden files in Mac OS X 10.8 Mountain Lion, OS X 10.7 Lion, Mac OS X 10.6 Snow Leopard, and before, use this defaults command string instead:
defaults write com.apple.Finder AppleShowAllFiles TRUE;killall Finder
再輸入(因為我的mac符合a條件): defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
完成, .metadata就找到了
但是mac不像Windows會顯示出.metadata檔案夾, 而是需要去終端機(terminal)下指令才能顯示:
下面截圖是我在終端機下完指令後出現的樣子:
以下是顯示步驟:
1. 打開terminal
2. 輸入: /Applications/Utilities
3. 接著
有分版本: (參考連結: http://osxdaily.com/2009/02/25/show-hidden-files-in-os-x/) 擷取連結重點如下 -->
Enter the proper command exactly as shown below, choosing for your version of MacOS or Mac OS X:
a.) For showing hidden files and folders in OS X El Capitan 10.11, Yosemite 10.10, and OS X Mavericks 10.9, use the following command string to show hidden files:
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
b.) For showing hidden files in Mac OS X 10.8 Mountain Lion, OS X 10.7 Lion, Mac OS X 10.6 Snow Leopard, and before, use this defaults command string instead:
defaults write com.apple.Finder AppleShowAllFiles TRUE;killall Finder
再輸入(因為我的mac符合a條件): defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
完成, .metadata就找到了
留言
張貼留言