1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

Add man entry for --exclude-gitignored

This commit is contained in:
civts 2023-03-02 23:31:11 +01:00
parent 0df6f615cc
commit 6922af5ba5
No known key found for this signature in database
GPG key ID: 9BF324952F7FD6FD
2 changed files with 5 additions and 0 deletions

View file

@ -49,6 +49,10 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
\fB--exclude-larger-than\fP=""
max \fB\fCsize\fR of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T)
.PP
\fB-n\fP, \fB--exclude-gitignored\fP[=false]
excludes anything (file, directory, symlink) that would be ignored by git
.PP
\fB--files-from\fP=[]
read the files to backup from \fB\fCfile\fR (can be combined with file args; can be specified multiple times)

View file

@ -101,6 +101,7 @@ command:
--exclude-file file read exclude patterns from a file (can be specified multiple times)
--exclude-if-present filename[:header] takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)
--exclude-larger-than size max size of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T)
--exclude-gitignored exclude anything (file, directory, symlink) that would be ignored by git
--files-from file read the files to backup from file (can be combined with file args; can be specified multiple times)
--files-from-raw file read the files to backup from file (can be combined with file args; can be specified multiple times)
--files-from-verbatim file read the files to backup from file (can be combined with file args; can be specified multiple times)