commit fa334abdaeeaed4321d553721271e3a395ececa5 Author: bender Date: Sun Dec 1 12:42:18 2024 -0800 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63123fb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_store diff --git a/cli/zip.md b/cli/zip.md new file mode 100755 index 0000000..2295300 --- /dev/null +++ b/cli/zip.md @@ -0,0 +1,29 @@ + +The basic syntax for the `zip` command is: +```bash +zip [options] zipfile files/directories +``` + +Common options include: +- `-r`: Recursively include files in directories +- `-q`: Quiet mode (less output) +- `-v`: Verbose mode +- `-u`: Update existing entries if newer +- `-9`: Maximum compression +- `-0`: Store files only, no compression +- `-e`: Encrypt the zipfile with a password + +Some common examples: +```bash +# Create a zip archive of multiple files +zip archive.zip file1.txt file2.txt + +# Create a zip archive of a directory and all its contents +zip -r archive.zip directory/ + +# Create an encrypted zip file +zip -e secure.zip confidential.txt + +# Add/update files in an existing zip +zip -u archive.zip newfile.txt +``` \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..d4956f7 --- /dev/null +++ b/readme.md @@ -0,0 +1,4 @@ +# Physical Mind Palace + +## Command Line Tools +- [ZIP Commands](cli/zip.md) \ No newline at end of file