Comparison of file and directory name on different operating systems
Jump to navigation
Jump to search
Win Windows NTFS (New Technology File System)
- Maximum filename length: 255 characters[1]
- Maximum path characters:
- Case sensitive: allowed to be case sensitive after "Windows 10 April 2018 Update (version 1803)"[2]
Mac macOS Mojave
$ cc -dM -E -xc - <<< '#include <sys/syslimits.h>' | grep -i ' [NP]A.._MAX' #define NAME_MAX 255 #define PATH_MAX 1024
- Max. filename length: 255
- Maximum path characters: 4096[5]
- Case sensitive: yes
References
- ↑ Naming Files, Paths, and Namespaces - Windows applications | Microsoft Docs
- ↑ How to enable NTFS support to treat folders as case sensitive on Windows 10 | Windows Central
- ↑ macos - Does OS X enforce a maximum filename length or character restriction? - Ask Different
- ↑ Filename Character Limit? - Apple Community
- ↑ What is the maximum allowed filename (and folder) size with eCryptfs? - Unix & Linux Stack Exchange
Related articles