Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

backuporig: add postgresql helper

  • Loading branch information...
commit ea85fb468b42541c6f374fd73730a41b30271d29 1 parent ef1d951
@rurban authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 backuporig
View
9 backuporig
@@ -0,0 +1,9 @@
+#!/bin/sh
+# copy .orig files back
+
+find ${1:.} -type f -name '*.orig' -print | /usr/bin/sort | while read FILE
+do
+ NEW="`dirname $FILE`/`basename $FILE .orig`"
+ echo "$NEW" 1>&2
+ mv -f $FILE $NEW
+done
Please sign in to comment.
Something went wrong with that request. Please try again.