Without hidden folders and files in directory:
zip -r zipfile.zip directory/*
directory:
|── .git│ ├── src│ └── Work.file├── .test│ └── .file└── test.file
$ zip -r zipfile.zip directory/*adding: directory/src/ (stored 0%)adding: directory/src/Work.file (stored 0%)adding: directory/test.file (stored 0%)