Linux Zip Compression From CLI
I’m trying to compress all files in the current working directory into a zip folder. I’m using this package for compression. The compression works on my windows device, but not on linux devices. The error is the one shoe in the image. The code handling the compression is in this file at line 118. Could someone tell me what i’m doing wrong? I assume it is to do with the wildcard during the compression but i’m not sure.
5 Replies
Seems like it requires the Linux application "zip" to be installed, do you have it installed and in the PATH?
How to Install Zip and Unzip in Linux
How to Install Zip and Unzip in Linux
In this topic, we focus on how you can install the zip and unzip utilities on various Linux distributions.
JSR
/compress.ts - @fakoua/zip-ts - JSR
@fakoua/zip-ts on JSR: Deno Zip archive Forked from (https://github.com/moncefplastin07/deno-zip) !Compatible with jsr Streaming cross-platform zip tool written for Deno 🦕.
@Char do you have zip installed and in the PATH?