KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to zip a file using bash shell, so I used: echo -n 'Insert the file path:' read path echo 'Hello World' > ${path} zip -u ${path}.zip ${path} When I run this script, it gives me a warning: zip warning: test.zip not found or empty adding: test (deflated 66%) It works just fine but how can I disable this warning? Am I using zip in right way?
Tags (comma-separated)
Save Edits
Cancel