Reading Commits From External File,从svn st中提取文件并上传到svn
2012-02-07 08:35
337 查看
The 'cat' process is completely unneeded. It is better not to use it.
Good:
> cat filenames.txt | xargs svn commit -m "Passed testing"
>
> (if you wanted one commit containing all files) or
Better:
xargs svn commit -m "Passed testing" < filenames.txt
Good:
> cat filenames.txt | xargs -n 1 svn commit -m "Passed testing"
>
> (if you wanted one commit per file).
>
> Paths containing spaces may not be handled properly by the above;
> testing is advised.
Better:
xargs -n 1 svn commit -m "Passed testing" < filenames.txt
Bob
来源自:http://svn.haxx.se/users/archive-2006-05/1130.shtml
Good:
> cat filenames.txt | xargs svn commit -m "Passed testing"
>
> (if you wanted one commit containing all files) or
Better:
xargs svn commit -m "Passed testing" < filenames.txt
Good:
> cat filenames.txt | xargs -n 1 svn commit -m "Passed testing"
>
> (if you wanted one commit per file).
>
> Paths containing spaces may not be handled properly by the above;
> testing is advised.
Better:
xargs -n 1 svn commit -m "Passed testing" < filenames.txt
Bob
来源自:http://svn.haxx.se/users/archive-2006-05/1130.shtml
相关文章推荐
- 将通过<input type="file">上传的txt文件存储在localStorage,提取并构建File对象
- hadoop用copyFromLocalFile或create上传文件到linux 0字节
- KettleXMLException: 错误从XML文件读取转换 (error during reading transform from the xml file )
- 利用 hadoop 的 FileSystem copyFromLocalFile 方法实现文件上传HDFS中 Hadoop 版本 2.7.0
- 利用 hadoop 的 FileSystem copyFromLocalFile 方法实现文件上传HDFS中 Hadoop 版本 2.7.0
- cvs修改的文件不能提交(报cvs [commit aborted]: end of file from server (consult above messages if any))
- VSS 提交大文件出现 error from reading file 问题解决!
- SVN上传文件提示磁盘空间不足的问题 Could not write svndiff to temp file: 磁盘空间不足”报错的解决方案
- 正确检查上传文件类型或者get mine type from file
- KettleXMLException: 错误从XML文件读取转换 (error during reading transform from the xml file )
- matlab里textread出现错误“Trouble reading floating point number from file (row 1, field 1)”
- svn commit文件时,提示“由于字符编码错误造成两个文件信息丢失”的处理方法
- Jersey上传文件 @FormDataParam("file") null
- 文件上传与解析Excel:fileupload+poi
- file上传文件操作【练习】
- 使用ajaxfileupload.js实现ajax上传文件php版
- jQuery上传文件插件AjaxFileUpload的使用
- Apache Commons fileUpload实现文件上传
- ASP.NET 使用HTML file控件进行文件上传
- 关于在linux中使用svn add添加并上传文件到svn的时候,*.so *.bin等文件被忽略的问题.