create tar gz of actual directory code example Example: tar archive all files in directory cd .. tar czf workspace.tar.gz workspace