I have a zip which contains files with very long names.
If I try to extract on the command line, I get the error "File name too long".
If I use the graphical archive manager it will not extract the files and it will not let me rename them. The same problem occurs if I mount the archive.
I can extract and rename files individually using:
unzip -p -c example.zip "long file name.ogg" > shortname.ogg
This is impractical with lots of files.
Is there a tool which will truncate filenames as they are extracted?