script to remove a file from the repository
This commit is contained in:
parent
ab8f620ccb
commit
145617a15d
1 changed files with 9 additions and 0 deletions
9
tools/bin/erase
Executable file
9
tools/bin/erase
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
if test $# = 0; then
|
||||
echo 'usage: erase <file>'
|
||||
fi
|
||||
file=$1
|
||||
erased_dir=$HOME/erased
|
||||
mv -f $file erased_dir
|
||||
cvs remove $file
|
||||
|
||||
Loading…
Add table
Reference in a new issue