≡ Menu

tar command

HowTo Install firefox-8.0.tar.bz2 in Linux

I have downloaded Firefox version 8.0 file from mozilla ftp/web site. The name of file is firefox-8.0.tar.bz2. How do I install firefox-8.0.tar.bz2 in Linux? What about my old bookmarks and add-ons. I am going to lose them?
[click to continue…]

Linux / Unix: Tarball Delete ( remove ) File

How do I delete OR remove a single file from within a tar ball under Unix / Linux like operating systems?
[click to continue…]

WordPress Rename Image URL For a CDN Usage

Recently, we moved all our static assets to a CDN (Content Delivery Network) as described here. However, we have over 8000+ old blog posts and we need to point static images url to our CDN account hosted at http://MyACCOUNT.cloudfront.net/images/ folder. How do I rename all image urls stored in wordpress posts? How do I offload static images to a CDN urls under WordPress?
[click to continue…]

Linux / UNIX: Untar / Extract a .lzma Tar Ball

I’ve downloaded a file called file.tar.lzma tar ball from the Internet but I am not able to open tar ball. How do I open or extract a .lzma file under Linux or UNIX like operating systems using command line options?
[click to continue…]

Linux / UNIX: Encrypt Backup Tape Using Tar & OpenSSL

How do I make sure only authorized person access my backups stored on the tape drives (DAT, DLT, LTO-4 etc) under Linux or UNIX operating systems? How do I backup /array22/vol4/home/ to /dev/rmt/5mn or /dev/st0 in encrypted mode?
[click to continue…]

Linux: tar Extract Files

How can I extract or uncompress a file from tar ball downloaded from the Internet under Linux using bash command prompt?
[click to continue…]

Unix / Linux: Tar Command Remove a Directory From a Tar Ball

How do I remove a directory from a tar ball under Unix / Linux operating systems?
[click to continue…]

Linux / UNIX: tar Command Stay In Local / File System When Creating Archive

I'd like to make / file system backup but the problem is there are other file systems mounted under / such as:


I'd like to skip all other file systems mounted at / and only make backup of local / and not /boot, /var, /iscsi, and /mnt/cdrom etc. How do I force tar to use a single file system under Linux / UNIX / BSD operating systems?
[click to continue…]

Ubuntu Linux: Compress files using tar Command

How do I compress and backup files using tar command to another directory on same computer or another Linux computer under Ubuntu Linux?
[click to continue…]

Tar Extract a Single File(s) From a Large Tarball

Q. I've couple of large tarballs such as www.tar and images.tar. Is it possible to extract a single file or a list of files from a large tarball such as images.tar instead of extracting the entire tarball? How do I extract specific files under Linux / UNIX operating systems?
[click to continue…]