Skip navigation

Again using xargs comes in handy to speed up the process of committing a given list of files to the repository.
First let’s preview the command which will save us to type every file name (and their paths)

svn status |   awk '/^M/ {print $2," "}' | xargs echo svn ci -m \"Checking into the repository my last modified files\"

and once it’s been carefully examined, let it run by piping it to bash

svn status |   awk '/^M/{print $2," "}' | xargs echo svn ci -m \"Checking into the repository my last modified files\" | bash

Leave a comment