Re:Chocolatey - Windows Package Manager
by xpaulbettsx on Sunday October 09, 2011 @09:15PM
(#3091876)
Here's an example, find all files recursively that are over 100k
Doing this in Bash or CMD would be annoying (certainly doable though!), especially the recursive part.
[ Parent
| on HN ]
find . -size +100k
Re:Chocolatey - Windows Package Manager
by xpaulbettsx on Monday October 10, 2011 @02:20PM
(#3095071)
I stand corrected :) I certainly don't want to start a "which is better" argument, just trying to give an example of something interesting in PSh
Re:Chocolatey - Windows Package Manager
by burgerbrain on Sunday October 09, 2011 @10:14PM
(#3091991)
'ls' has -R too, if you really want to do it like that.
Of course, that form in Unix would not be suggested, because there are other far better (readable/concise) ways of doing that. (like the 'find' one someone else just gave you).