View Tar file without uncompressing


To view a tar file without uncompressing.

Run the below

tar -tvf tarfile

Advertisements

rsync folder with sync


To run an rsync from a remote server to a local one and sync the files.

Run the below command

rsync -avz user@server:/tmp/test /tmp/test

Also you can show a progress option with the below addition

rsync -avz --progress user@server:/tmp/test /tmp/test

And add a bandwidth limiter if needed

rsync -avz --bwlimit=100000 user@server:/tmp/test /tmp/test