I have this command locally:
nc localhost 3440 | tar -x -O > ores.tgz
if I receive one file from the server, it will be written to ores.tgz in my pwd.
However, if I receive multiple files from the server, it looks like only the last file I receive will be saved to the file, probably overwriting all of the previous ones.
So my question is - is there some way to save multiple files to different filenames in my pwd, using a similar command?