linux下如何使用svn判断本地文件夹那些文件已改动的命令
2012-01-15 15:46
1006 查看
svn diff --diff-cmd "diff" -x "-q" . | grep Index | cut -d " " -f 2
转载自:http://jonathanpolansky.com/2009/04/list-only-the-path-and-filenames-of-files-with-differences-using-subversion-svn/
以下是原文:
The Subversion svn command has built in diff functionality but it is more limited than GNU diff. It doesn’t allow you to use the ‘-q’ option to
“Report only whether the files differ, not the details of the differences.” Luckily, svn allows you to specify an external “diff” command and then pass it arguments. Use the following command to list only files with local modifications and changes within
a subversion checkout.
相关文章推荐
- 使用scp命令在两台linux上对拷文件或者文件夹
- Linux下查看文件和文件夹大小的df和du命令使用介绍
- 使用git push命令如何忽略不想提交的文件夹或者文件
- [加入用户]解决useradd 用户后没有加入用户Home文件夹的情况,Linux改变文件或文件夹的訪问权限命令,linux改动用户password,usermod的ysuum安装包。飞
- Linux-使用 Find 命令找到那些需要清理的文件
- 使用linux命令获取文件夹下所有文件的绝对路径
- 如何在 Windows 2000 中使用 COMPRESS、COMPACT 和 EXPAND 命令压缩或解压缩文件和文件夹
- linux下不使用rm命令删除文件和文件夹
- 在linux下,如何使用find命令查看一个目录下包含多少文件
- 如何设置linux的文件和目录的权限及stat命令的使用
- linux命令 — lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- linux如何使用umount命令强制卸载文件系统
- linux中如何使用javah命令生成jni头文件
- Linux如何使用locate命令查找数据查找指定文件
- linux中如何使用ls命令查看s开头的文件?
- [转]linux中更改文件及文件夹所有者权限设置命令chown使用详解
- Linux系统下使用命令删除文件和文件夹
- linux下如何使用sftp命令进行文件上传和下载
- Linux命令行下svn ignore忽略文件或文件夹用法
- 使用scp命令在两台linux上对拷文件或者文件夹