Any way to supress these types of messages?
zip warning: name not matched: *.rtf
Any way to supress these types of messages?
zip warning: name not matched: *.rtf
Are you trying to zip a file using the zip command? Can you share the exact command that you’re using that’s giving you this error?
zip -u Ubuntu_Scripts.zip *.sh *.rb *.c *.py *.txt *.rtf
I guess you don’t have any file with a .rtf
extension in that directory, that’s why you’re seeing the message.
I found this. -q suppresses most messages except errors.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are omitted, zip compresses stdin to stdout.
-f freshen: only changed files -u update: only changed or new files
-d delete entries in zipfile -m move into zipfile (delete OS files)
-r recurse into directories -j junk (don’t record) directory names
-0 store only -l convert LF to CR LF (-ll CR LF to LF)
-1 compress faster -9 compress better
-q quiet operation