by Toniglandyl · 5y ago · 0 comments
If it's for a day to day usage as a shell, bash / fish / zsh... are more concise and faster.
The example given on the article :
# Get all file modified in the last 3 days
Get-ChildItem -Path path -Recurse | Where-Object {
$_.LastWriteTime -gt (Get-Date).AddDays(-3)
}Is just:
find path -mtime 3
in bash ...
The object thing is nice, but using strings as output is universal.
No comments yet.