Skip to content

Instantly share code, notes, and snippets.

@Astyk
Astyk / gist:2abb0a475a383630dcb02a9261f2aa20
Created February 16, 2024 10:52 — forked from joshcarr/gist:648079
SVN bash script to export changed files
#!/bin/bash
# USAGE:
# ./svn-export revision-from revision-to repository target-directory
# ./svn-export 20 25 svn://localhost/myrepository .
if [ ! $1 ] || [ ! $2 ] || [ ! $3 ] || [ ! $4 ]; then
echo "Please enter a revision from, revision to, SVN repository, and target directory"
exit
fi