diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-05-29 10:03:19 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-05-29 10:03:19 +0000 |
commit | e547b88a4d466d30e31e7b1d7dca5ec2a6444ba1 (patch) | |
tree | 8af3f0a1a45b1d774d13f6c174f8df9ba122009c | |
parent | 1bdf77bcea6db7a27f0e88a4ef17ee9c347286e2 (diff) |
Added script to import SVN dumps.
-rwxr-xr-x | linode/import.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linode/import.sh b/linode/import.sh new file mode 100755 index 0000000..3b9ed7f --- /dev/null +++ b/linode/import.sh @@ -0,0 +1,7 @@ +#!/usr/local/bin/bash + +for i in $* ; do + name=$(basename $i .dump) + svnadmin create $name + svnadmin load $name < $i +done |