Files
my-vault/00_Inbox/Windows Shell 获取文件名和大小.md

27 lines
618 B
Markdown

# {{date:YYYY-MM-DD}}
## Capture
<!-- Quick thoughts, links, ideas throughout the day -->
获取所有文件名和大小
```
Get-ChildItem -Recurse -File | Select-Object DirectoryName, Name, @{N='Size(MB)';E={"{0:N2}" -f ($_.Length/1MB)}}, LastWriteTime | Export-Csv -Path "all_files_list.csv" -NoTypeInformation -Encoding UTF8
```
## Questions
<!-- What am I curious about today? -->
-
## Insights
<!-- What did I learn or realize? -->
-
## Connections
<!-- Links to other notes or ideas -->
-
## For Tomorrow
<!-- What needs follow-up? -->
-
---
*End of day: Ask Claude Code to review and find connections*