2010年10月26日星期二

Using SSH to zip files

tar.gz is better for linux

so, to compress
tar -cvzf filename.tar.gz /home/path
and to decompress
tar -xvzf filename
Upload the file to server:
scp file user:password@host:/path

没有评论:

发表评论