Last active
January 25, 2025 21:24
-
-
Save aaronedev/c1d3013a2b4fe547c8c5e6f43f489997 to your computer and use it in GitHub Desktop.
zip all files in the current directory powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-ChildItem "." | ForEach-Object { Compress-Archive -path $_.Name -destinationPath "$($_.Name).zip"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment