tar extract to different path code example Example: tar extract to specific location tar xvf my.tar.gz -C /home/my/location/