10 lines
208 B
Bash
10 lines
208 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
for linkfile in $@; do
|
||
|
echo "# processing linkfile $linkfile..."
|
||
|
for link in $(cat $linkfile); do
|
||
|
echo "# unlinking $link..."
|
||
|
unlink $link
|
||
|
done
|
||
|
rm -rf $linkfile
|
||
|
done
|