Skip to content

Instantly share code, notes, and snippets.

@megos
Created April 14, 2016 03:05
Show Gist options
  • Save megos/c523b373fc19e8c79b0d48f1b9dbdca2 to your computer and use it in GitHub Desktop.
Save megos/c523b373fc19e8c79b0d48f1b9dbdca2 to your computer and use it in GitHub Desktop.
複数のSubversionプロジェクトを一括でupdateするスクリプト
#!/bin/bash
find . -maxdepth 1 -type d | while read dir
do
if [ -e $dir/.svn ]; then
svn update $dir
fi
done
@megos
Copy link
Author

megos commented Apr 14, 2016

  • 構成例
    • projectA、projectB、...が各リポジトリになっている
svn
├── projectA
├── projectB
├── ...
└── allupdate.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment