显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false
自从把MacOS升级到10.8后svn不能用了。
svn命令也没有了,解决方法就是安装一个svn客户端。
一、安装MacPorts
下载最新的pkg包:https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg
直接双击安装就可以。
安装好之后port命令在:/opt/local/bin/port
更多安装方式:http://blog.chenapp.com/archives/383
MacPorts version 2.1.2 is available in various formats for download and installation (note, if you are upgrading your Mac OS X to a new major release, see the migration info page)
“pkg” installers for Mountain Lion, Lion and Snow Leopard, for use with the Mac OS X Installer. This is the simplest installation procedure that most users should follow after meeting the requirements listed below. Installer for legacy platform Leopard also available.In source form as either a tar.bz2 package or a tar.gz one for manual compilation, if you intend to customize your installation in any way.SVN checkout of the unpackaged sources, if you wish to follow MacPorts development.The selfupdate target of the port(1) command, for users who already have MacPorts installed and wish to upgrade to a newer release.