A opção -j
( --junk-paths
) de zip
existe exatamente para essa finalidade.
De man zip
:
-j --junk-paths
Store just the name of a saved file (junk the path), and do not store directory names. By default, zip will store the full path (relative to the current directory).
Então, faça:
zip -9jpr /mnt/test/Raimi/temp/Testing.zip /home/tect/Loco/*txt