Would you like to learn how to extract a file or directory from a TAR archive? In this tutorial, we are going to extract specific files from a large TAR file.
• Ubuntu 18
• Ubuntu 19
• Ubuntu 20
Copyright © 2018-2021 by Techexpert.tips.
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means without the prior written permission of the publisher.
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Tutorial Linux – Extracting files or directories from a TAR archive
Create a large TAR file.
List the content of the TAR file.
List the content of a specific directory in the TAR file.
Search for files in the TAR file.
Extract a file from the TAR archive.
Extract multiple files from the TAR archive.
Extract a directory from the TAR archive.
Extract multiple directories from the TAR archive.
Congratulations! You are able to extract files or directories from a TAR archive.