Windows : How to list files recursively with size and last access date?

前端 未结 1 2020
既然无缘
既然无缘 2020-12-24 08:21

I need a simple way to create a list of all files in a certain folder. (recursively)

Each file must be in a single line. I also need the file size and the last acces

相关标签:
1条回答
  • 2020-12-24 08:54

    try this:

    get-childitem D:\temp -rec | where {!$_.PSIsContainer} |
    select-object FullName, LastWriteTime, Length | export-csv -notypeinformation -delimiter '|' -path file.csv
    
    0 讨论(0)
提交回复
热议问题