Playing With Tar Files
I once wanted to create a empty tar file….
tar -czfv empty-archive.tar.gz /dev/null
To append to tar files….
tar –append –file=empty-archive.tar.gz filename
If you now use the –list (-t) operation, you will see that rock has been added to the archive:
less empty-archive.tar.gz
To untar at a specific location add the -C operator
tar -czfv empty-archive.tar.gz -C /home/
-
Recent
- File Password Protection
- Building modules for rhel5 kernel
- Open SSL help
- Extracting certificates from java keystore to use in apache.conf
- What is bonding?
- Xen rescue paravirtualization
- flash player on firfox 64 bit
- Samba4 HOWTO + Fedora
- MRTG HowTo
- Fedora/Redhat Kernel RPM with Xen & reiserfs
- MYSQL REPLICATION
- Installation and management of XEN on Redhat-linux
-
Links
-
Archives
- March 2010 (1)
- January 2010 (5)
- December 2009 (1)
- April 2009 (1)
- January 2009 (1)
- November 2008 (12)
-
Categories
-
RSS
Entries RSS
Comments RSS