Skip to content

Instantly share code, notes, and snippets.

@bgruening
Created September 18, 2015 11:02
Show Gist options
  • Save bgruening/9601f51ecff3aa209e04 to your computer and use it in GitHub Desktop.
Save bgruening/9601f51ecff3aa209e04 to your computer and use it in GitHub Desktop.
sshf_galaxy_temp_ipython
#!/usr/bin/env sh
if mount | grep ^glxdk1:/var/tmp/glxdk1; then
echo "/var/tmp/glxdk1 already mounted."
else
sshfs glxdk1:/var/tmp/glxdk1 /var/tmp/glxdk1
echo 'Mounting ...'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment