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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD picture

Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD

$149.99



Super micro Server picture

Super micro Server

$168.00



HPE ProLiant MicroServer Gen10 picture

HPE ProLiant MicroServer Gen10

$420.00



HP ProLiant MicroServer Generation 8 Xeon 4gb 4-BAY 2x500GB HDD (included) picture

HP ProLiant MicroServer Generation 8 Xeon 4gb 4-BAY 2x500GB HDD (included)

$200.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.48



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00