특정 폴더를 서버의 특정 폴더로 동기화함. build.sh로 만들어서 배포용으로 쓰면 편린


#!/bin/sh


rsync -azh ./build -e 'ssh -p 22' user@hostname:~/www

+ Recent posts