#!/bin/sh
#   bkorig file..
# This makes a "backup" copy of each file by renaming it by adding "-orig"
# to its name.  It then copies the backup back to the original name.  This
# gives a backup with its original timestamp, and an identical file of the
# same name with a current creations time.  The original can thus be
# restored without any change; even multiple links are preserved.

for A
do	echo $A ...
	mv $A $A-orig
	cp $A-orig $A
done
