Skip to content

How to create and extract tar archives

Linux

FAQ · Linux · Help & Support

07. Sep 2023 1 min

The tar program is often used for backups and for sharing files. To create a tar archive, use the command tar -cvf myarchive.tar myfolder/, where myarchive.tar is the name of the archive and myfolder/ is the directory you want to archive. To extract a tar archive, use tar -xvf myarchive.tar, where myarchive.tar is the name of the archive you want to extract.

Still have questions?

Our support team is happy to help - via ticket, email, or phone.