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.