package submit directory into tar.gz file