Last active
September 14, 2016 13:47
-
-
Save mikemurray/6223383 to your computer and use it in GitHub Desktop.
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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
<3 indeed
really useful, thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pkill -9 -f 'Transmit Disk'
would work just as well as the second line? <3