Rename target files while using zip command

linux, unix, zip

Solution

Command `zipnote`:

echo -e "@ myOldFileName.txt\n@=myNewFileName.txt" | zipnote -w myzip.zip

Problem

I'm using the `zip` command to zip files, such as `zip -r - file1 file2 file3` We want to rename these files however, before they are zipped. Does anyone know if there's a way to pipe this or somehow rename the files that are being added to the zip?

Original source