User Tools

Site Tools


tar

tar examples

wget <url> | tar -cvz file.gz.tar -
tar -cvzf file.tar `wget <url>`
wget -qO <url> | tar -cvf file.tar
wget <url> -O - | tar

remote system:

ssh user@box tar czf - /dir1/ > /destination/file.tar.g

tar to stdout and pass to remote machine via ssh:

tar zcvf - /wwwdata | ssh user@box "cat > /backup/wwwdata.tar.gz"
tar.txt · Last modified: 2018/08/20 13:11 by admin