Created
September 18, 2015 11:02
-
-
Save bgruening/9601f51ecff3aa209e04 to your computer and use it in GitHub Desktop.
sshf_galaxy_temp_ipython
This file contains 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
#!/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