PowerShell: List Empty Files 🚀
List Empty Files
function xah-list-empty-files { # .DESCRIPTION # List empty files, of current dir recursively. # .NOTES # Created: 2022-05-17 # Version: 2022-05-17 Get-ChildItem -Recurse -File | Where-Object { $_.length -eq 0 } }
PowerShell, List Dirs and Files
List Dirs
- PowerShell: Navigate Directory
- PowerShell: Show Current Dir Path
- PowerShell: List Directories
- Show Directory as Tree
- PowerShell: List Empty Dir 🚀
- PowerShell: Dir Size 🚀
List Files
- PowerShell: List Files
- PowerShell: Show Fullpath, No Truncate Lines
- PowerShell: List Empty Files
- PowerShell: Count Number of Files
- PowerShell: List Files by Name Pattern
- PowerShell: Filter File Name by Regular Expression
- PowerShell: List File by Size
- PowerShell: Sort Files by File Size 🚀
- PowerShell: List Files by Date Time
- PowerShell: Search Text in Files (grep)