"Get-ChildItem -Recurse -Include *.pdf | where { ! $_.PSIsContainer }"

kiyo_hikokiyo_hiko のブックマーク 2023/09/06 13:16

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

have Powershell get-childitem return files only

    I'd like to use get-childitem recursively, but only have it return files not directories. The best solution I have just doesn't seem natural: gci . *.* -rec | where { $_.GetType().Name -eq "FileInf...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう