onedrive
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| onedrive [2022/10/10 08:31] – edvc | onedrive [2022/10/10 08:33] (aktuell) – edvc | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | long path lange pfade | ||
| + | |||
| quelle: https:// | quelle: https:// | ||
| - | Detailed instructions: | ||
| - | |||
| - | Run PowerShell | ||
| - | Traverse to the directory you want to check for filepath lengths (C: works) | ||
| - | Copy and paste the code [Right click to paste in PowerShell, or Alt + Space > E > P] | ||
| - | Wait until it's done and then view the file: cat longfilepath.txt | sort | ||
| - | Explanation: | ||
| < | < | ||
| - | Out-File longfilepath.txt ; – Create (or overwrite) a blank file titled ' | + | Out-File longfilepath.txt ; cmd /c "dir /b /s /a" | ForEach-Object { if ($_.length -gt 250) {$_ | Out-File -append longfilepath.txt}} |
| - | </ | + | |
| - | + | ||
| - | cmd /c "dir /b /s /a" | – Run dir command on PowerShell, /a to show all files including hidden files. | to pipe. | + | |
| - | + | ||
| - | ForEach-Object { if ($_.length -gt 250) {$_ | Out-File -append longfilepath.txt}} | + | |
| </ | </ | ||
onedrive.1665390711.txt.gz · Zuletzt geändert: von edvc
