Skip to content

Instantly share code, notes, and snippets.

@misodengaku
Created February 8, 2015 12:14
Show Gist options
  • Save misodengaku/24cf4063718f0857abeb to your computer and use it in GitHub Desktop.
Save misodengaku/24cf4063718f0857abeb to your computer and use it in GitHub Desktop.
SECCON 2014 伍
#!/bin/sh
REVS=`svn info http://repo/svn/flags | grep ^Revision | sed -e s/"Revision: "//g`
while [ $REVS -ne 0 ]
do
svn export http://repo/svn/flags . -r $REVS --force > /dev/null
REVS=`expr $REVS - 1`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment