3 ms·
PowerShell is not really that much more verbose. This is the equivalent of the nushell command by crabsand. dir | ? LastWriteTime -lt (Get-Date).AddDays(-21)
by IdiotSavage 6mo ago
PowerShell is not really that much more verbose. This is the equivalent of the nushell command by crabsand.
dir | ? LastWriteTime -lt (Get-Date).AddDays(-21) | del
- metaltyphoon 6mo agoToo much casing changes, IMO
- IdiotSavage 6mo agoSorry. Fixed it for you. dir | ? lastwritetime -lt (get-date).adddays(-21) | del PowerShell is not case sensitive (but nushell and bash are).