colab unzip tar.gz code example
Example 1: how to extract tar.gz file in colab
!tar -xvf 'file.tar' -C 'destination'
Example 2: colab unzip tar.gz
!tar -xvf /content/x.tar.gz
!tar -xvf 'file.tar' -C 'destination'
!tar -xvf /content/x.tar.gz