# Zip mkdir temp_for_zip_extract unzip /path/to/file.zip -d temp_for_zip_extract # Tar tar -xf file.name.tar -C /path/to/directory # Gzip gunzip docker.log.1.gz