Zip error: nothing to do!

HTML Content for ‘zip error: nothing to do!’

The error message you are seeing, “zip error: nothing to do!”, indicates that the zip command you are using has no files or directories to compress or archive. This error occurs when you try to run the zip command without specifying any files or directories to include in the compressed file.

To fix this error, you need to provide the zip command with the appropriate files or directories that you want to include in the zip archive. Here’s an example of how you can use the zip command:

    
      zip archive.zip file1.txt file2.txt directory1/
    
  

In the above example, “archive.zip” is the name of the zip file you want to create. “file1.txt” and “file2.txt” are the files you want to include in the archive, and “directory1/” is the directory you want to include. You can specify multiple files and directories separated by spaces.

Make sure to replace “archive.zip”, “file1.txt”, “file2.txt”, and “directory1/” with the actual names of the files and directories you want to include in the zip archive.

Same cateogry post

Leave a comment