torrent/fs/unwedge-tests.sh

6 lines
105 B
Bash
Executable File

shopt -s nullglob
for a in "${TMPDIR:-/tmp}"/torrentfs*; do
sudo umount -f "$a/mnt"
rm -r -- "$a"
done