I use SVN with terminal commands, but using terminal has two troubles
The first one is not to add all the files at once, and finally I find such a command by searching the Internet
SVN St | awk ' {if ($1= "?") {print $}} ' | Xargs SVN add
at first I don't know what it means, it feels good.
but this command cannot be added [email protected] Such a picture file, you need to add the "@" symbol behind the picture
Today, due to the uploading of a lot of pictures, one by one plus inconvenient, so I studied the awk command.
Finally, just a little change to the above command.
SVN St | awk ' {if ($1= "?") {if (Match ($, "@")) {print $ "@"}else{print +}}} ' | Xargs SVN add
where match ($, "@") is to retrieve each row if there is an "@" character, and the @2x.png file is not identified .
Record these, write to yourself, welcome reprint--LC
IOS Add all files to svn command at once