New answers tagged tar
The easiest way to do that is to cd to the directory first: cd /path/to/containing/folder && tar -zcvf tarfile.tar.gz foldername_tocompress So that the (containing) folder's directory becomes the root directory of your compressed file. A bit more advanced is using the -C option: tar -zcvf tarfile.tar.gz -C /path/to/foldername_tocompress . This ...
Wherever you be tar -xf /home/sermet/x.tar -C /home/sermet/ That will extract x.tar in your home.
tar xvf /home/sermet/x.tar /home/sermet/ Mind you this will mess up your /home/sermet/ if the tar has not got subdirectories in it.
You can also install cmake 2.8 from the Ubuntu Software Center in Ubuntu 14.04 if you don't want to build it from source. In Ubuntu 14.04, open the terminal and type: sudo apt-get install cmake
Have you tried playing around with the rsync options? The options -c, -W and --delay-updates could be helpful.
Top 50 recent answers are included