forked from extern/nix-config
Add unrar and unzip commands to commands.md
This commit is contained in:
parent
dd4881cc8c
commit
a655e54025
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user