Created
April 18, 2015 22:03
-
-
Save cicorias/382560890f638a302192 to your computer and use it in GitHub Desktop.
Run this from your OneDrive path - and it will report all files that exceed 250 characters - which on OneDrive if > 255 no sync - happens on Mac OS X too
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -r * |? {$_.GetType().Name -match "File" } |? {$_.fullname.length -ge 250} | ` | |
%{ Write-Host $_.fullname.length.ToString() "|" $_.fullname} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment