Wednesday, April 15, 2015

linux - Error, couldn't create file .. File name too long

How can I increase the maximum length of a filename in linux?


I'm trying to download a torrent file, and apparently because it's Cyrillic, the file name hit's the limit.


error, couldn't create file "Как это сделано/128 (Литье автомобильных деталей с помощью воска; Лодка из стекловолокна; Сушильная машина; Лампочка высокой интенсивности; Тележка для покупок).avi":  File name too long

getconf -a | grep -i name


NAME_MAX                           255
_POSIX_NAME_MAX 255
LOGNAME_MAX 256
TTY_NAME_MAX 32
TZNAME_MAX 6
_POSIX_TZNAME_MAX 6
CHARCLASS_NAME_MAX 2048
HOST_NAME_MAX 64
LOGIN_NAME_MAX 256

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...