Results 1 to 7 of 7

Thread: How to edit the contents of .tbz file

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    How to edit the contents of .tbz file

    I want to look inside the configz.tbz file that is created when Knoppix settings are saved. Unfortunately, the KDE archiver program "ark" does not open the .tbz file. How can I edit the contents of this file? (I want only some settings to be "persistent")

    And, is there any advantage to using .tbz instead of, let's say, .tar.bz, which ark could handle?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Oops, this was easier than I thought. Just rename the configs.tbz to configs.tar.bz and you can open it!

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    '.tbz' is acceptable shorthand for tar.bz

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to edit the contents of .tbz file

    At the command line, you can do ' tar tjvf configz.tbz |less ' OR:
    ' bzip2 -cd configz.tbz | tar tvf - | less '

    Quote Originally Posted by probono
    I want to look inside the configz.tbz file that is created when Knoppix settings are saved. Unfortunately, the KDE archiver program "ark" does not open the .tbz file. How can I edit the contents of this file? (I want only some settings to be "persistent")

    And, is there any advantage to using .tbz instead of, let's say, .tar.bz, which ark could handle?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by rickenbacherus
    '.tbz' is acceptable shorthand for tar.bz
    perhaps we should tell that the ark developers so that they can include it as an acceptable suffix for ark.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    Re: How to edit the contents of .tbz file

    Quote Originally Posted by Dave_Bechtel
    At the command line, you can do ' tar tjvf configz.tbz |less ' OR:
    ' bzip2 -cd configz.tbz | tar tvf - | less '
    Thanks a lot!
    How can I pack them again after editing them or deleting unneeded files? (e. g. saving such things as X configuration and fstab is actually stupid since it renders hardware autodetection useless! Antialiasing however is a thing I would love to save...)

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to edit the contents of .tbz file

    --I dunno; if you custom-modified your fstab you'd definitely want to save a copy. Personally I don't use the save-config stuff; just boot KPX where needed, usually w/o X. I figure running from CD is *designed* to be ad-hoc, and use knx-hdinstall for "saving changes"

    --Anyway, the ' tar tvf ' only LISTS the files in the tarball. CD to where you want the extracted files and dirs to go, and replace "t" with "x" (tar xvf). This will eXtract the directories and all into your current directory. I highly recommend using ' mc ' to browse and delete. Also make a copy of the original .tbz file JustInCase. To re-archive it gets a little tricky:
    ' tar cvf - * |bzip2 >configz.tbz '

    --This is an *uncofirmed* method of re-archiving. You'll have to double check that the config-restore program extracts the re-archived file correctly, due to subdirectories not being fully-qualified. (See ' info tar ' for more info on tar than you ever hoped to see.) Again, I don't use the saveconfig/restore stuff; tried it once and then just installed to HD.

    Quote Originally Posted by probono
    Quote Originally Posted by Dave_Bechtel
    At the command line, you can do ' tar tjvf configz.tbz |less ' OR:
    ' bzip2 -cd configz.tbz | tar tvf - | less '
    Thanks a lot!
    How can I pack them again after editing them or deleting unneeded files? (e. g. saving such things as X configuration and fstab is actually stupid since it renders hardware autodetection useless! Antialiasing however is a thing I would love to save...)

Similar Threads

  1. Which file to edit for configuring LAN
    By leenux in forum Networking
    Replies: 5
    Last Post: 12-08-2004, 04:49 AM
  2. edit knoppix-autoconfig changes file sys to RO ?
    By bigal2000 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 07-07-2004, 04:53 PM
  3. Trying to edit file onn hdd.
    By CyberInzane in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 02-23-2004, 09:33 PM
  4. how can i edit a "read only" file (/etc/*.conf)
    By t0rp3d0 in forum General Support
    Replies: 1
    Last Post: 07-29-2003, 09:48 PM
  5. How to manually edit the contents of configs.tbz
    By probono in forum General Support
    Replies: 0
    Last Post: 04-03-2003, 05:31 AM

Posting Permissions

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


WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$107.99



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage

$200.00



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M picture

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M

$1150.00



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller picture

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller

$999.99



EMC VNXe3100 EPE 12-LFF 3.5

EMC VNXe3100 EPE 12-LFF 3.5" NAS Storage Array 12*3TB SAS HDD 2*303-137-000D

$224.99



Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours  picture

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours

$199.00