diff -Naur [from-file] [to-file] > [YourFileName.patch]
-N In directory comparison, if a file is found in only one directory, treat it as present but empty in the other directory.
-a Treat all files as text and compare them line-by-line, even if they do not seem to be text.
-u Use the unified output format.
-r When comparing directories, recursively compare any subdirectories found.
SVN版本控制下要移除所有目錄底下.svn
$ rm -rf `find . -type d -name .svn`
GIT版本控制下要移除.git
只需要移除主目錄底下.git相關的info即可
NFS mount command
mount -t nfs -o nolock 10.0.0.3:/home/vm_share /mnt/shares
沒有留言:
張貼留言