Untar to directory

July 15, 2021 . 1 MIN READ

If you want the files to be extracted to a particular destination you can add -C /destination/path/

Example:

tar xf community_images.tar.gz -C /home/emmys/Pictures/Community/

You can easily memorize it if you consider telling tar to e X tract a F ile

 

 

tar xvzf file.tar.gz

 

Leave a Reply

Your email address will not be published. Required fields are marked *