Question: How Do I Archive a File in Linux Terminal?
Contents How Do I Create an Archive in Linux Terminal? to Create a Tar Archive, Use the -C Option Followed by -F and the Name of the Archive. You Can Create...
Contents
How do I create an archive in Linux terminal?
To create a tar archive, use the -c option followed by -f and the name of the archive. You can create archives from the contents of one or more directories or files.
Must Read
How do I compress a file in Linux terminal?
The procedure is as follows to tar a file in Linux:
- Open the terminal app in Linux.
- Compress an entire directory by running tar -zcvf file. tar. gz /path/to/dir/ command in Linux.
- Compress a single file by running tar -zcvf file. tar. …
- Compress multiple directories file by running tar -zcvf file. tar.
3 нояб. 2018 г.