rsync -avh --exclude node_modules --exclude dist --exclude --build --exclude logs data-dir/ root@server-ip:/var/www/nodedoc/
or,
rsync -avz --exclude={node_modules,build,.config,.mozilla,.npm} data-dir/ username@server-ip:/home/username/
rsync -avh --exclude node_modules --exclude dist --exclude --build --exclude logs data-dir/ root@server-ip:/var/www/nodedoc/
or,
rsync -avz --exclude={node_modules,build,.config,.mozilla,.npm} data-dir/ username@server-ip:/home/username/
0 comments:
Post a Comment