Try the following:
zip [zipfile] [file to update]
An example:
$ zip test.zip test/test.txt
updating: test/test.txt (stored 0%)
More Related Contents:
- Correct Bash and shell script variable capitalization
- While loop stops reading after the first line in Bash
- How can I compare numbers in Bash?
- Pipe output and capture exit status in Bash
- Redirect stderr and stdout in Bash [duplicate]
- Which characters need to be escaped when using Bash?
- Capturing Groups From a Grep RegEx
- How to put a line comment for a multi-line command [duplicate]
- Why does “local” sweep the return code of a command?
- bash : Illegal number
- Batch renaming files with Bash
- Shell redirection i/o order
- How to generate random number in Bash?
- In bash, how do I bind a function key to a command?
- “Invalid Arithmetic Operator” when doing floating-point math in bash
- Using sed to mass rename files
- Colorized grep — viewing the entire file with highlighted matches
- How to pass in password to pg_dump?
- Select random lines from a file
- Variables getting reset after the while read loop that reads from a pipeline
- How to kill all subprocesses of shell?
- Should I use a Shebang with Bash scripts?
- Bash scripting, multiple conditions in while loop
- How to schedule to run first Sunday of every month
- Printing asterisk (“*”) in bash shell
- Why would I create an alias which creates a function?
- Rename all files in directory from $filename_h to $filename_half?
- Reading input files by line using read command in shell scripting skips last line
- Why doesn’t my terminal output unicode characters properly?
- How to read variables from file, with multiple variables per line?