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
  •  


Lenovo ThinkPad x250 12.5

Lenovo ThinkPad x250 12.5" Touch Laptop Intel i5 8GB RAM 128GB SSD Windows 10

$85.50



Lenovo ThinkPad E580 15.6

Lenovo ThinkPad E580 15.6" Laptop Intel Core i5 8GB RAM 128GB SSD Windows 11

$139.49



Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 16GB RAM 256GB SSD Windows 10 picture

Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 16GB RAM 256GB SSD Windows 10

$259.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD

$529.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM

$544.99



Lenovo - Legion Slim 5 16

Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...

$1349.99



Lenovo Legion Pro 5i 16

Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD

$1369.99



Lenovo ThinkPad T490s Touchscreen Laptop, i7-8565u, 16GB RAM, Grade B picture

Lenovo ThinkPad T490s Touchscreen Laptop, i7-8565u, 16GB RAM, Grade B

$180.00



Lenovo ThinkPad Yoga 11e Intel Core m3 CPU 8GB RAM 128GB SSD Win10 FAST C-GRADE picture

Lenovo ThinkPad Yoga 11e Intel Core m3 CPU 8GB RAM 128GB SSD Win10 FAST C-GRADE

$60.40



Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 16GB 256GB SSD Windows 11 picture

Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 16GB 256GB SSD Windows 11

$269.99