Re:Nushell.sh ls | where size > 10mb | sort-by modified
by waf on Monday March 13, 2023 @04:06AM
(#35132556)
Just for reference, the PowerShell version of this would be:
[ Parent
| on HN ]
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by 0xfeeddeadbeef on Tuesday March 14, 2023 @03:23PM
(#35157030)
Heads-up: if current directory contains other directories, this will fail. You'll need to adjust the filter:
ls | where { -not $_.PSIsContainer -and $_.Length -gt 1mb } | sort LastWriteTime