total: 2311701
longer than 80: 8813
longer than 146: 3
old device:
total: 890355
longer than 80: 21090
longer than 146: 1
new device:
total: 384083
longer than 80: 13952
longer than 146: 0
total: 704249
longer than 80: 883
longer than 146: 20
total: 927089
longer than 80: 2363
longer than 146: 0
PC
total: 152348
longer than 80: 502
longer than 146: 0
Laptop
total: 18359
longer than 80: 12
longer than 146: 0
If you are on a windows machine and have powershell access and know how to deal with csv/excel, you can also use a script to create a list off your filenames and their length.
Try to understand what this script is doing! Do not just execute anything you find on the internet!
(I love this )
gci D:\PATH -recurse | select-object FullName, @{Name="Nlength";Expression={$_.Name.Length}} | sort-object FullName | export-Csv -path D:\listD.txt
Please replace D:\PATH with the folder you want to check (or your vault drive letter) and D:\listD.txt with the path and the name you want to have the results stored.
This is just a dirty script. It will show also folders containing no files at all and will then display the count of the folder. So you have to manipulate the output and exclude everything you don’t want to have here.
But its just a small step from there to come to the requested results.
Here we go, my results:
Files actually IN vaults
total: 33419
longer than 80: 74
longer than 146: 0
ALL files on system (excluding encrypted vault files)
total: 314036
longer than 80: 82953
longer than 146: 9
total: 438535
longer than 80: 6413
longer than 146: 1
From ~:
total: 475153
longer than 80: 1778
longer than 146: 2
from the root of a second internal drive:
total: 139219
longer than 80: 3951
longer than 146: 3
total: 83442
longer than 80: 6248
longer than 146: 6
total: 2607056
longer than 80: 398128
longer than 146: 165
total: 126774
longer than 80: 248
longer than 146: 14
Vault Files (external Disk)
total: 121285
longer than 80: 108
longer than 146: 0
Home dir:
total: 450461
longer than 80: 889
longer than 146:
Vault files (file server)
total: 90111
longer than 80: 125
longer than 146: 1
total: 2836675
longer than 80: 28145
longer than 146: 235
One more result posted on Twitter by @thefuzzstone:
total: 110849
longer than 80: 2365
longer than 146: 0
total: 66663
longer than 80: 20
longer than 146:
Hi
My maximum file name is 199 characters long.
The microsoft windows limit is 240 characters for filename. Don’t go below !
total: 44712
longer than 80: 160
longer than 146: 12
total: 462553
longer than 80: 7251
longer than 146:
There’s a problem, as my files are longer than 259 characters which seems to crash the powershell-script.
It does not calculate totals.
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
It looks like 259 is a magic number because it breaks my Cryptomator on Win 10 as reported here.