Refactor: change "folder" to "directory" where needed.

This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
This commit is contained in:
Marco Bonelli
2019-02-11 19:00:49 +01:00
committed by Agniva De Sarker
parent 2484529a83
commit 2599a6de48
65 changed files with 202 additions and 202 deletions

View File

@@ -5,27 +5,27 @@
- Initialise a (local) repository:
`borg init {{/path/to/repo_folder}}`
`borg init {{/path/to/repo_directory}}`
- Backup a folder into the repository, creating an archive called "Monday":
- Backup a directory into the repository, creating an archive called "Monday":
`borg create --progress {{/path/to/repo_folder}}::{{Monday}} {{/path/to/source_folder}}`
`borg create --progress {{/path/to/repo_directory}}::{{Monday}} {{/path/to/source_directory}}`
- List all archives in a repository:
`borg list {{/path/to/repo_folder}}`
`borg list {{/path/to/repo_directory}}`
- Extract a specific folder from the "Monday" archive in a remote repository, excluding all *.ext files:
- Extract a specific directory from the "Monday" archive in a remote repository, excluding all *.ext files:
`borg extract {{user}}@{{host}}:{{/path/to/repo_folder}}::{{Monday}} {{path/to/target_folder}} --exclude '{{*.ext}}'`
`borg extract {{user}}@{{host}}:{{/path/to/repo_directory}}::{{Monday}} {{path/to/target_directory}} --exclude '{{*.ext}}'`
- Prune a repository by deleting all archives older than 7 days, listing changes:
`borg prune --keep-within {{7d}} --list {{/path/to/repo_folder}}`
`borg prune --keep-within {{7d}} --list {{/path/to/repo_directory}}`
- Mount a repository as a FUSE filesystem:
`borg mount {{/path/to/repo_folder}}::{{Monday}} {{/path/to/mountpoint}}`
`borg mount {{/path/to/repo_directory}}::{{Monday}} {{/path/to/mountpoint}}`
- Display help on creating archives: