dotfiles/unlink.sh

10 lines
208 B
Bash
Raw Normal View History

2023-10-14 22:38:11 +02:00
#!/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