/7zip-in-Google-Colab

Compress and uncompress archives in Google Colab using 7-Zip archive manager.

Primary LanguageJupyter NotebookMIT LicenseMIT

7zip-in-Google-Colab

Compress and uncompress archives in Google Colab using 7-Zip archive manager.

Open in Colab

  • Click on the "Open in Colab" button to open this notebook in google colab

Compress Files and Folders

  • Create zip, tar, 7z, gz, bz2, xz, wim files.
  • If you want you can add password or split the archive.
  • If you want to save archive in another location uncheck saveToSourceLocation.

Uncompress Files

  • To list content of the file, use viewFile. Uncheck this after viewing the content.
  • Can also extract splited archives.
  • saveToSourceLocation: Extracts files to source location.
  • If you want to extract files from archive without using directory names, uncheck directoryNames.
  • NOTE : Don't uncheck directoryNames at normal use.

directory_names without_directory_names

  • Without directoryNames, extracts files as 2nd figure.