Skip to content

Instantly share code, notes, and snippets.

@abhishekdev
Created June 28, 2012 09:44
Show Gist options
  • Save abhishekdev/3010276 to your computer and use it in GitHub Desktop.
Save abhishekdev/3010276 to your computer and use it in GitHub Desktop.
Log changed SVN files during a time period
#!/bin/bash
## To get the list of files modified during a certain periodin SVN
## original syntax: svn diff <url> --summarize -r {2012-03-24}:{2012-06-22} > ~/Documents/log.txt
## e.g. ./ThisFilesName <url> {date1}:{date2}
echo "Getting modified files during" $2 "to" $3 "in" $1 "..."
svn diff $1 --summarize -r {$2}:{$3} > log_$2_$3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment