User Tools

Site Tools


Sidebar



tar

TAR

tar without compression
tar cf backup.tar folder
to tar a folder (with all subfolders and files):
tar czf backup.tgz thefolder
to untar a file
tar xvzf file.tar.gz
untar to current folder (removing first component of path in archive)

removes 'wordpress/' from path

tar xvzf latest.tar.gz --strip-components=1
tar.txt · Last modified: 2015/09/07 15:17 by rick