Skip to content

Instantly share code, notes, and snippets.

@pj8912
Created March 11, 2022 18:48
Show Gist options
  • Save pj8912/f87f25b75364162e2b99f0458c41c6e3 to your computer and use it in GitHub Desktop.
Save pj8912/f87f25b75364162e2b99f0458c41c6e3 to your computer and use it in GitHub Desktop.
create zip folder in terminal
zip -r [name of the zip folder you want] file, folder
eg. zip -r test text.1, music
it creates a folder named 'test.zip' and upload the file 'text.1'
and folder 'music' into test.zip
test.zip/
text.1
music/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment