Re:Shell Script Best Practices, from a decade of scripting t...
by majkinetor on Thursday October 27, 2022 @02:37PM
(#33361990)
[ Parent
| on HN ]
Re:Shell Script Best Practices, from a decade of scripting t...
by GuB-42 on Thursday October 27, 2022 @03:32PM
(#33362823)
Doesn't work, it is not recursive and it was a CRC, not SHA1 but I probably could have found a solution starting from there.
Anyways, it was a long time ago, maybe I will give PowerShell a retry at some point.
Re:Shell Script Best Practices, from a decade of scripting t...
by majkinetor on Thursday October 27, 2022 @03:46PM
(#33363021)
Ofc. it works. If on linux, replace ls with `gci`. Recursion is done with ls -Recurse. Install-Package CRC. Its still single liner.