2004-01-08 Fedora Tips #5:
Sometimes there is a need to temporarily backup files and then
restore them. Here is an example of one of the ways to do it:
Backup: for file in *.conf ; do cp $file $file.orig ; done Restore: for file in *.orig ; do cp $file `basename $file .orig` ; done- submitted by Leonid Mamtchenkov