Skip to content

Exclude All but One File in Backup #3407

Answered by trenutoo
ClemKristian asked this question in Support
Discussion options

You must be logged in to vote

The format used is the same as .gitignore. So the example below would first ignore all files with a wildcard * and then unignore a specific file or a folder with !.

*
!testfile

You can whitelist multiple files, folders, or subtrees by adding more with !

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ClemKristian
Comment options

Answer selected by ClemKristian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants