linux tar command
tar -zcvf file.tar.gz /path/to/dir/Create a new tar archive.
$ tar cvf archive_name.tar dirname/
Extract from an existing tar archive.
$ tar xvf archive_name.tar
View an existing tar archive.
$ tar tvf archive_name.tar# tar -cvf tecmint-14-09-12.tar /home/tecmint/
/home/tecmint/
/home/tecmint/cleanfiles.sh
/home/tecmint/openvpn-2.1.4.tar.gz
/home/tecmint/tecmint-14-09-12.tar
/home/tecmint/phpmyadmin-2.11.11.3-1.el5.rf.noarch.rpm
/home/tecmint/rpmforge-release-0.5.2-2.el5.rf.i386.rpm# tar cvzf MyImages-14-09-12.tar.gz /home/MyImages
OR
# tar cvzf MyImages-14-09-12.tgz /home/MyImages
Also in C++:
- linux ejecutar en segundo plano
- ubuntu slack install
- git tag and relasease
- git unable to update local ref
- bash write stderr to file
- install robomongo ubuntu
- how to run jar file mac
- su to root linux
- cloud foundry functions deploy
- git set head to commit
- replace delimiter for new line
- dos findstr
- how to upgrade pihole
- ubuntu generate ssh key
- An unhandled exception occurred: Collection "@nativescript/schematics" cannot be resolved
- xampp ubuntu
- react hook install
- how to install heroku in terminal
- install spotify ubuntu
- angular create a service
- batch file extension
- linux move folder and subfolders to parent
- start apache2 ubuntu
- change ubuntu username