Skip to content

Instantly share code, notes, and snippets.

@mikemurray
Last active September 14, 2016 13:47
Show Gist options
  • Save mikemurray/6223383 to your computer and use it in GitHub Desktop.
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!
# 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"
@jonhermansen
Copy link

pkill -9 -f 'Transmit Disk'

would work just as well as the second line? <3

@mikemurray
Copy link
Author

<3 indeed

@twentyfortysix
Copy link

really useful, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment