How does tar.gz file gets uncompressed with all contents to arbitrary directory, existing or not using tar using single line command? If it does not exists, then is created (directory). To clarify, let consider example: I've downloaded archive-latest.tar.gz from internet into directory /home/user/Downloads. I have microSD card target partition mounted on /mnt/archive. Once downloaded, I want to extract downloaded /home/user/Downloads/archive-latest.tar.gz directly on /mnt/archive using single line command. I've read man tar manual, but I cannot find option for specifying target dir.
dimanche 8 mars 2015
Uncompressing .tar.gz archive to specific directory
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire