In this linux article, we will be looking how to extract archieve TAR files to a specific folder.
Following command is used for it.
tar --extract --verbose --file backup.tar --directory ./backups
Output is as follows:
As output indicates, we extracted files in "backups" folder from "backup.rar".