Use --trim-filenames option

This commit is contained in:
7x11x13
2025-01-07 14:42:31 -05:00
parent 8c01f4a92d
commit fa6e2f83aa
4 changed files with 17 additions and 30 deletions
+2 -6
View File
@@ -1378,12 +1378,8 @@ def create_parser():
help='Sanitize filenames only minimally')
filesystem.add_option(
'--trim-filenames', '--trim-file-names', metavar='LENGTH',
dest='trim_file_name', default=0, type=int,
help='Limit the filename length (excluding extension) to the specified number of characters')
filesystem.add_option(
'--max-filename-length', metavar='LENGTH',
dest='max_file_name',
help='Limit the filename length (including extension) to the specified number of characters or bytes')
dest='trim_file_name',
help='Limit the filename length (excluding extension) to the specified number of characters or bytes')
filesystem.add_option(
'--filesystem-encoding', metavar='ENCODING',
dest='filesystem_encoding',