Skip to content

Instantly share code, notes, and snippets.

View RemiAWE's full-sized avatar

Rémi Chanaud RemiAWE

View GitHub Profile
@mikemurray
mikemurray / transmit_force_unmount.sh
Last active September 14, 2016 13:47
Kill ALL transmit disk sshfs mounts. Use this when you are unable to eject / mount a sshfs volume because of a disconnect. Don't use this to unmount them normally if you have the option. This could be dangerous, so use at your own risk!
# List all running transmit disk tasks
# ---------------------------------------------------------------------------
ps aux | grep "Transmit Disk"
# Kill All transmit disk tasks.
#
# Potentially dangerious as it could apply to all users on system.
# ---------------------------------------------------------------------------
pkill -9 -f "Transmit Disk"