如何在两个日期之间仅从 svn 命令行更改特定的扩展文件
How to get only specific extension files changed from svn command line between two dates
有人可以帮我如何在两个日期之间从 svn 命令行更改特定的文件扩展名(例如:.sql)
以下命令获取所有文件
svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ > output.txt
我建议您将 svn diff
命令的输出传递给 find
(对于 Windows)或 grep
(对于 Linux)命令,如下:
对于Windows:svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ | find ".sql" > output.txt
对于Linux:svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ | grep .sql > output.txt
您可以使用 --search
and --search-and
command-line options of svn log
command. You could also use TortoiseSVN Revision Log Dialog 来过滤所需的用户名。
有人可以帮我如何在两个日期之间从 svn 命令行更改特定的文件扩展名(例如:.sql)
以下命令获取所有文件
svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ > output.txt
我建议您将 svn diff
命令的输出传递给 find
(对于 Windows)或 grep
(对于 Linux)命令,如下:
对于Windows:
svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ | find ".sql" > output.txt
对于Linux:
svn diff -r{2017-10-12}:{2017-10-28} --summarize https://svn.blah.com/../ | grep .sql > output.txt
您可以使用 --search
and --search-and
command-line options of svn log
command. You could also use TortoiseSVN Revision Log Dialog 来过滤所需的用户名。