Extract files to another directory using tar command
Tar or Tape archiver is an archiving program. Using tar, you can create, extract and manage archive file. An archive file is a compressed file that contains one or more files together. To extract an archive to a directory different…