tar -xzf backup.tar.gz -C /restore/

Category: Self-Hosting

tar -xzf backup.tar.gz -C /restore/

Extract a compressed tarball to a specific restore directory

Extracts a .tar.gz archive to a specific directory. The -C flag specifies the target path.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.