/etc/darrc is in dar 2.5.14+bis-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | #############################################################
# This is the default system wide configuration file for dar
#
# This file provide a set of options referred each by a target
# name. They are not applied unless you specify that target on
# command line or included file. For example for par2:
# dar <...list of options...> par2
#
# This options set are available automatically for dar unless
# you define a .darrc in your home directory or use -N option
# on command-line.
# You can continue using this default file even if you use your
# own .darrc file, by including the following in it or explicitely
# command-line:
#
# -B /etc/darrc
#
# In the following we are using short options here because long
# options may not be available everywhere.
##############################################################
# target: par2
# activates:
# - par2 file generation when creating an archive
# - par2 file verification and correction when testing an archive
# usage: dar <options...> par2
par2:
-B "/usr/share/doc/dar/examples/dar_par.dcf"
##############################################################
# target: compress-exclusion
# avoid compressing types of file known to already be compressed
# or to have very bad compression ratio
#
# usage: dar <options...> compress-exclusion
compress-exclusion:
# here we define some files that have not to be compressed.
# First setting case insentive mode on:
-an
# Then telling dar that the following masks are glob expression
# which is the default, right, but if sooner on command-line the
# user swapped to regex, the following mask would not work as expected
# any more, so we force back to glob expression in any case:
-ag
# Now follows all the file specification to never try to compress:
# compressed video format
-Z "*.mpg"
-Z "*.avi"
-Z "*.flac"
-Z "*.cr2"
-Z "*.vob"
# compressed picture format
-Z "*.jpg"
-Z "*.jpeg"
-Z "*.mpeg"
-Z "*.png"
# compressed audio format
-Z "*.mp3"
-Z "*.ogg"
# compressed package
-Z "*.deb"
-Z "*.tgz"
-Z "*.tbz2"
-Z "*.rpm"
-Z "*.xpi"
-Z "*.run"
-Z "*.sis"
# other compressed data
-Z "*.gz"
-Z "*.Z"
-Z "*.bz2"
-Z "*.zip"
-Z "*.jar"
-Z "*.rar"
-Z "*.xz"
# dar archives (may be compressed)
-Z "*.dar"
# Now we swap back to case sensitive mode for masks which is the default
# mode:
-acase
##############################################################
# target: verbose
# show both skipped files and files being processed
#
# usage: dar <options> verbose
verbose:
-va
##############################################################
# target: no-emacs-backup
# ignore temporary files or backup files generated by emacs
#
no-emacs-backup:
-ag
-X "*~"
-X ".*~"
##############################################################
# target: samba
# take care of daylight saving time for the samba filesystem
# type
samba:
-H 1
# samba filesystem need this to properly report date
# and not lead dar to resave all files when changing
# from summer to winter time and viceversa.
##############################################################
# target: dry-run
# an alias for --empty option, that get its name because the
# only available option letter was 'e' that leads to this non
# intuitive option name "empty".
#
dry-run:
-e
##############################################################
# target: bell
# ring the terminal upon user interaction request
#
bell:
-b
##############################################################
# target: full-from-diff
# rebuilds a full backup from a differential backup and its
# full backup of reference
# usage: dar -+ new_full -A old_ref_full -@ diff full-from-diff
#
full-from-diff:
-/ '{!(~I)}[Rr] {~S}[O*] P* ; {~s}[*o] *p'
|