> just type "Could-We-Make-It-Even-More-Verbose -PerhapsInTheNextVersionWeWill!"
PowerShell can be as terse as bash. Just use the aliases (which are actually real aliases in PowerShell), leverage default parameters and shorten parameter names (or use their aliases) to just use enough character to disambiguate.
To get a file listing of your directory, simply type
ls
If you want to know why this works, type
help ls
and PowerShell will answer you with the help on "Get-ChildItem".
You could also type this to explain the `ls` command:
gcm ls
And PowerShell will answer
CommandType Name Version Source
----------- ---- ------- ------
Alias ls -> Get-ChildItem
`gcm` is itself an alias for Get-Command - a command that gets information about a command. Executing `gcm gcm` will produce this output:
CommandType Name Version Source
----------- ---- ------- ------
Alias gcm -> Get-Command
Incidentally, why does `find` have a `--delete` option in the first place? That's not very
do one thing only and do it well. `find` should search/find and do that well. Why is it also a
file-deleter?
Going back to the example from TFA, in PowerShell you would delete files not matching a pattern using this command:
ls -ex *.py -rec -file | rm
Or, if you
do want it verbose, using full names instead of aliases and shortened parameter names:
Get-ChildItem -Exclude *.py -Recurse -File | Remove-Item