Linux/mac OS Bulk Submit new files to SVN server

Source: Internet
Author: User
Tags svn

Command-line Operation SVN does not use the interface form of the tortoisesvn intuitive, but anyway, the command line Operation SVN still has it a bit, if you encounter a need SVN add many files what to do? The following commands can help you solve this problem

Add all new files to the SVN repository at once:

awk ' {if (= = = "?") {print $}} ' xargs svn add

Delete all files that need to be deleted from SVN library at once

awk ' {if (= = = "!") {print $}} ' Xargs RM

Finally submit your changes directly (note: Here the-F represents the uploaded comments from the Comment.txt file read)

SVN ci-f comment.txt/svn commit-m "comment"

Write the above three commands into a script (at this time the SVN St should be replaced with the SVN St Yourpath), you can upload svn with one click, all right?

Linux/mac OS Bulk Submit new files to SVN server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.