PowerShell: sort files by size
Sort files by file size
dir -Recurse -file | sort -Property length
List files less than given size
# show files whose size is less than 100 bytes dir -Recurse -file | Where-Object { $_.length -lt 100}
List files greater than given size
# show files whose size is greater than 1 mega bytes dir -Recurse -file | Where-Object { $_.length -gt 1mb}
PowerShell. list files
List Files
- PowerShell: list files
- PowerShell: show fullpath, no truncate lines
- PowerShell: list empty files 📜
- PowerShell: count files
filter
- PowerShell: filter files by wildcard
- PowerShell: filter file name by regular expression
- PowerShell: filter files by date
- PowerShell: list large files 📜
- PowerShell: search text in files (grep. find string)