Guilt v0.24
[guilt.git] / uninstall
blob54c6d26afd2ce68917cae60a440f558c33005ab2
1 #!/bin/bash
3 # Copyright (c) 2007 Nur Hussein <hussein@cs.usm.my>
6 if [ $# -lt 2 ]; then
7 echo "Usage: $0 <prefix> <file1> <file2> ..." >&2
8 exit 1
9 fi
11 PRE=$1
13 shift
15 for x in "$@"
17 rm "$PRE/$x"
18 done