Getting "zip error: Invalid command arguments (long option 'no-extra' not supported)" while running zip command with --no-extra option.

Solution Verified - Updated -

Issue

  • When run the command zip filename.zip -r --no-extra the following error is observed.

    zip error: Invalid command arguments (long option 'no-extra' not supported)
    

Environment

  • Red Hat Enterprise Linux.
  • zip.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content