20160701

Cloud9 sshfs mount script

#!/bin/bash
MD="xxxxx"`date +%Y%m%d_%H%M%S`
echo /home/ubuntu/workspace/mount/$MD
mkdir /home/ubuntu/workspace/mount
mkdir /home/ubuntu/workspace/mount/$MD
sshfs [email protected]:/var/www/html /home/ubuntu/workspace/mount/$MD -p 22
ln -sfn /home/ubuntu/workspace/mount/$MD /home/ubuntu/workspace/sshfs_folder


沒有留言: