Complete implementation

This commit is contained in:
7x11x13
2025-01-07 13:44:12 -05:00
parent 9eb3124219
commit 8c01f4a92d
4 changed files with 62 additions and 7 deletions
+8
View File
@@ -1380,6 +1380,14 @@ def create_parser():
'--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')
filesystem.add_option(
'--filesystem-encoding', metavar='ENCODING',
dest='filesystem_encoding',
help='Override filesystem encoding used when calculating filename length in bytes')
filesystem.add_option(
'-w', '--no-overwrites',
action='store_false', dest='overwrites', default=None,