Hacker News new | ask | show | jobs
by adl 968 days ago
Just a brief reminder: If you need to zip/unzip files from the command line on Windows, you can use BSD tar.

I needed to write a script that zips a directory from the command line, and found out that Windows 10/11 and at least Server 2019 includes BSD tar by default! You can use it like this:

'C:\Temp>tar acvf backup.zip directory'

So, no need to install any third-party zip/unzip CLI tool.