Adding Another File to a Zip Folder With Bash The below assumes that a publish.zip file already exists. You can zip up another file in this folder like so: zip -g lambda.zip lambda_function.py