Skip to content

Instantly share code, notes, and snippets.

@yuitest
Last active August 29, 2015 13:57
Show Gist options
  • Save yuitest/9683729 to your computer and use it in GitHub Desktop.
Save yuitest/9683729 to your computer and use it in GitHub Desktop.
こんなシェルスクリプトを用意しておいて、クリックしたら開くようにしておくとストレスレス。
#!/bin/sh
ADDR='remote:/path/to'
HERE="$(cd "$(dirname $0)" && pwd)"
NAME="$(basename "${HERE}")"
sshfs\
-o "volname=${NAME}"\
-o auto_cache\
-o nolocalcaches\
-o cache=no\
-o reconnect\
-o defer_permissions\
-o noappledouble\
"${ADDR}" "${HERE}"
@yuitest
Copy link
Author

yuitest commented Mar 21, 2014

クリックしたらそれの居るディレクトリがディスクに化ける感じ。

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