Refactor: add missing or_directory
where needed.
This commit adds the missing `_or_directory` to any example which is specifying an action affecting a file or a directory, but uses the token `{{path/to/file}}` instead of `{{path/to/file_or_directory}}`.
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ac4094e0ad
commit
f79f6011e0
@@ -3,9 +3,9 @@
|
||||
> A file archiver with high compression ratio.
|
||||
> Homepage: <https://www.7-zip.org/>.
|
||||
|
||||
- Archive a file or folder:
|
||||
- Archive a file or directory:
|
||||
|
||||
`7z a {{archived.7z}} {{path/to/file}}`
|
||||
`7z a {{archived.7z}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Encrypt an existing archive (including headers):
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Archive using a specific archive type:
|
||||
|
||||
`7z a -t {{zip|gzip|bzip2|tar}} {{archived.7z}} {{path/to/file}}`
|
||||
`7z a -t {{zip|gzip|bzip2|tar}} {{archived.7z}} {{path/to/file_or_directory}}`
|
||||
|
||||
- List available archive types:
|
||||
|
||||
|
Reference in New Issue
Block a user