From: Colin Patrick McCabe Date: Mon, 24 Jan 2011 20:33:07 +0000 (-0800) Subject: Add archive_patch.sh X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3516b08d7dfc4fe05f132e6fa29b9d53cffc0e9b;p=cmccabe-bin Add archive_patch.sh Signed-off-by: Colin McCabe --- diff --git a/archive_patch.sh b/archive_patch.sh new file mode 100755 index 0000000..8c7a236 --- /dev/null +++ b/archive_patch.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +new_file_name=`date +'%Y-%m-%d'`_`basename $1` + +mv -i "${1}" "${new_file_name}"