Re: Extracting indiviual files or directories from XYZ.tar.xz - Possible?
On Thu 07 Aug 2025 at 09:34:11 (-0400), Felix Miata wrote:
> Richard Owlett composed on 2025-08-07 07:00 (UTC-0500):
>
> > 1. Can individual files or directories be extracted from XYZ.tar.xz ?
>
> 1: open mc (if not already installed: sudo apt install mc)
> 2: navigate to the location of XYZ.tar.xz
> 3: <ENTER>
> 4: navigate to the file(s) you wish extracted & select file/those you wish copied
> 5: <TAB>
> 6: navigate to the location you wish file(s) copied to if not to current location
> 7: <TAB>
> 8: F5
>
> IOW, archive files are treated by mc as though they were ordinary directories.
>
> > 2. Is there a compressed format that makes above convenient?
>
> Few archive formats are not supported by mc in this manner, among them, .debs.
That sentence might be difficult to parse, so I'll just
point out that .debs are supported by mc. You can list
their contents with View (F3) and open the archive with
Open (Enter, or double-clicking it).
Cheers,
David.
Reply to: