tar all files in current directory code example Example: tar archive all files in directory cd .. tar czf workspace.tar.gz workspace