How Do I Tar a Directory in Linux Command Line?
Contents How Do I Tar to Another Directory? 4 Answers. the Easy Way, If You Don’t Particularly Need to Use -C to Tell Tar to Change to Some Other Directory, Is...
How do I tar to another directory?
4 Answers. The easy way, if you don’t particularly need to use -C to tell tar to change to some other directory, is to simply specify the full path to the archive on the command line. Then you can be in whatever directory you prefer to create the directory structure that you want inside the archive.
What is tar command in Linux?
The Linux “tar” stands for tape archive, which is used by large number of Linux/Unix system administrators to deal with tape drives backup. The tar command used to rip a collection of files and directories into highly compressed archive file commonly called tarball or tar, gzip and bzip in Linux.