-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add examples for --paths-from-stdin, --paths-from-command, --paths-separator #5644
add examples for --paths-from-stdin, --paths-from-command, --paths-separator #5644
Conversation
docs/usage/create.rst
Outdated
# Use --paths-from-command with find to only backup files from a given user | ||
$ borg create --paths-from-command -- /path/to/repo::joes-files find ~ -user joe | ||
# Use --paths-from-stdin with --paths-delimiter to backup files listed in a csv file | ||
$ cat ~files-to-backup.csv | borg create \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it needs to have a /
after the ~
.
also, there is still the "one row" issue. when thinking of csv, one usually has items distributed over rows, not over columns (which are rather for other attributes of same item).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read up on the one find option and now I see why someone would want to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #5551
Added some examples for these options to the
borg create
documentation, one that showcases each of them.