天天看点

iOS 如何批量删除项目文件夹中的.svn信息文件?

批量删除.svn文件的命令

首先打开终端

删除svn信息: sudo find /Users/issuser/Desktop/CWSJ -name ".svn" -exec rm -r {} \;  (使用颜色标注的是项目文件夹的绝对路径,可以直接把文件夹拖动到终端里,就可以显示出文件夹的路径了)

其次,重启Finder

显示隐藏文件 显示:defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false 

然后 command + option + esc 重启Finder