kieranjol / IFIscripts

Detailed documentation is available here: http://ifiscripts.readthedocs.io/en/latest/index.html
http://ifiscripts.readthedocs.io/en/latest/index.html
MIT License
50 stars 34 forks source link

Filename/absolute path length workarounds #297

Open kieranjol opened 6 years ago

kieranjol commented 6 years ago

The total path of a file including all tiles and folders should be less than 259 characters. Python and Windows tends to not be able to read files where the paths are longer than this.

So there's a lot to think about here.

More discussion needed via Digital Collections Meetings.

kieranjol commented 6 years ago

Btw 159 characters for a filename might be a good starting point,as this is the max length of a filename that doesn't become problematic in windows when a manifest with the file's basename is placed in the desktop old manifests dir. But seeing as this is dependent on the length of a username, something around 140 might be a safer bet.

mcampos-quinn commented 6 years ago

🙄 windows...