Results 1 to 3 of 3

Thread: How do I ammend the config.tbz file?

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    4

    How do I ammend the config.tbz file?

    Hello

    I have a persistant Knoppix fileset [of 2 files] on my memory stick one of which is called:
    configs.tbz

    I want to decompress it, make a modification and then recompress it to the same format.
    I can decompress it using Konqueror's drop down menu to give to 2 folders:
    home and etc

    but when I use Konqueror's drop down menu to recompress it, it does not offer:
    .tbz

    only:
    tar.bz2

    How can the 2 folders be compressed to:
    .tbz

    please?

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Lok at the example from http://www.computerhope.com/unix/utar.htm:
    Creating a tarred file that is compressed with bzip
    tar -cjvf test.tbz home/
    Adding the j option to the tar command enables tar to compress files and directories using bzip. In the above example the home directory and all its subdirectories are added to the compressed test.tbz file.
    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD (Knoppix V6.7.1 remaster)

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    4
    Thank you for that Werner.
    Well, I ammended the bash_history file, zipped it all back up and then rebooted.
    The final result seems to be OK; but when Booting up, at the point of loading my configs.tbz there now appear a lot of complaints about various directories.
    So it seems that the decompression & recompression have introduced some sort of corruption somewhere.
    Any ideas about that please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture

Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller

$84.99



8 Bay Tool Less Tray Hot Swap 2.5

8 Bay Tool Less Tray Hot Swap 2.5" 3.5" SATA Non RAID Ext USB 3.0 Enclosure USED

$145.00



ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture

ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT

$134.39



OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture

OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire

$36.99



ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working picture

ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working

$32.95



Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture

Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile

$17.99



LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile picture

LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile

$29.00



WD TB My Book Duo Desktop RAID External Hard Drive 0TB NO DRIVES picture

WD TB My Book Duo Desktop RAID External Hard Drive 0TB NO DRIVES

$42.00



ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB picture

ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB

$42.49



Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5

Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5" 3.5" SATA HDD SSDs

$139.99