]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/orig
bin/git-*: Add git-alias, git-obliterate, git-show-tree
[dotfiles.git] / bin / orig
1 #!/bin/sh
2
3 if [ $# = 0 ] ; then
4 echo "usage: orig FILE ..."
5 echo "copy FILE(s) to FILE.orig"
6 else
7 for f in "$@" ; do
8 cp -p "$f" "$f.orig"
9 done
10 fi