Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save svrl/d0d67d58b9c3db5436a09f0afb799521 to your computer and use it in GitHub Desktop.
Save svrl/d0d67d58b9c3db5436a09f0afb799521 to your computer and use it in GitHub Desktop.
dir | ForEach-Object { & "C:\[path of 7za.exe]\7za.exe" a $_.BaseName $_.Name -sdel }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment