File: darrc_sample

package info (click to toggle)
dar 2.4.5.debian.1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 10,608 kB
  • sloc: cpp: 50,637; sh: 12,281; ansic: 836; xml: 694; makefile: 369; csh: 104; perl: 43; sed: 16
file content (54 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (5)
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
######
# this is an example of what could be a batch file
# (given to -B option), a /etc/darrc and a $HOME/.darrc file
# reminds that it is a simple example...
#


all:
# make terminal bell when user action is requested
-b

create:
# a list of file to not try to compress
-X "*_all_*.*.dar"
-X "*_diff_*.*.dar"
-X "*_inc_*.*.dar"
-Z "*.mpg"
-Z "*.MPG"
-Z "*.jpg"
-Z "*.JPG"
-Z "*.gz"
-Z "*.tgz"
-Z "*.bz2"
-Z "*.tbz"
-Z "*.mp3"
-Z "*.mpeg"
-Z "*.zip"
-Z "*.dar"

# create empty dir for excluded directories
-D

-R /

# we don't save these directories
-P tmp
-P var/tmp
-P mnt
-P proc
-P dev/pts

# here we say we don't want to save dar files
-X "*.*.dar"

# we pause before starting a new slices
-p

# and we use gzip compression
-z

default:
# if no action is given then show the version
# in place of the usage help
-V