dotfiles/unlink.sh
2023-08-23 06:14:56 +02:00

10 lines
No EOL
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