pack_folder function

compress a folder

compress a folder

compress a folder to a target file. The function returns the complete path to target file.

pack_folder(folder, target)

Arguments

  • folder: folder to compress
  • target: path of the archive to create