I have an unarchiver that takes in an archive name, and a directory name, and dumps all files from that archive into that directory. No other command-line options. However, someone zipped a file in the archive I am looking to decompress, with 500-ish characters in the filename, and now that program fails when it hits that file (practically all file systems have a limit of 256). What alternative do I have, short of changing the source code and recompiling the unarchiver?I must mount something as a directory, which would take the files that the unarchiver is writing, and dump them elsewhere  possibly even as one big file. This something should not send fail messages, even if some write really did fail.I have tried mounting a directory as a file  however, that directory must have an underlying filesystem, and then it has the same limitations as the original FS.I have also tried using a pipe  but a pipe cannot have arguments after it (e.g. /pipe/reallylongfilename). Is something like this possible?The archive is a .zim. I am using the zimdump tool from the OpenZim library.
An archive with long filename inside  unarchiver hits filesystem limit and fails
shell;directory;filenames;archive
If you know this very long name then you can try to edit it inside the archive using hex editor (or sed?). Work with a copy in case you need to start from scratch.Let the example filename be very-long-filename. Reasonable angles of attack:very/long/filename,very//////filename,very0long-filename where 0 indicates NULL character (0x00),very00000000000000 (0 as above).In general it's not wise to delete characters (thus making the archive smaller). It changes important offsets inside the archive and will probably corrupt it.I made a test with a .zip file. I admit my very-long-filename was not too long. I managed to make it shorter and maybe these methods will also work for names that are too long. In my test I had to edit two fragments of the file because every filename in .zip was stored twice.You used the word zipped but didn't state clearly what your archive is. Whatever it is I hope it stores filenames in plain text and you will succeed in editing them. Good luck.