#!/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
20160701
Cloud9 sshfs mount script
TAG
LINUX
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言