1
0
forked from extern/nix-config

Add unrar and unzip commands to commands.md

This commit is contained in:
Donovan Glover 2017-11-11 23:34:39 -05:00
parent dd4881cc8c
commit a655e54025
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -70,8 +70,13 @@ These programs are installed on top of the base system.
### Dealing with Archives
- Zip all files in a directotry: `zip -r <zip_name> <directory>`
- View the contents of rar files: `unrar lb <files>`
- Extract the contents of rar files: `unrar x <files>`
- Extract the contents of zip files: `unzip <files>`
- Extract any type of archiving algorithm: `extract <filename>`
**Note**: When using `unrar` or `unzip` to extract multiple files (with wildcards), you must first escape the `*` to `\*`.
### Opening Things
Note that the preferred way to open things is with the `open` function; however, sometimes it is necessary to use these commands if, for example, you're loading an entire directory.