1bup-drecurse(1) bup-drecurse(1)
2
3
4
6 bup-drecurse - recursively list files in your filesystem
7
9 bup drecurse [-x] [-q] [--exclude path] [--exclude-from filename]
10 [--exclude-rx pattern] [--exclude-rx-from filename] [--profile] <path>
11
13 bup drecurse traverses files in the filesystem in a way similar to
14 find(1). In most cases, you should use find(1) instead.
15
16 This program is useful mainly for testing the file traversal algorithm
17 used in bup-index(1).
18
19 Note that filenames are returned in reverse alphabetical order, as in
20 bup-index(1). This is important because you can't generate the hash of
21 a parent directory until you have generated the hashes of all its chil‐
22 dren. When listing files in reverse order, the parent directory will
23 come after its children, making this easy.
24
26 -x, --xdev, --one-file-system
27 don't cross filesystem boundaries – though as with tar and
28 rsync, the mount points themselves will still be reported.
29
30 -q, --quiet
31 don't print filenames as they are encountered. Useful when
32 testing performance of the traversal algorithms.
33
34 --exclude=path
35 exclude path from the backup (may be repeated).
36
37 --exclude-from=filename
38 read –exclude paths from filename, one path per-line (may be re‐
39 peated). Ignore completely empty lines.
40
41 --exclude-rx=pattern
42 exclude any path matching pattern. See bup-index(1) for de‐
43 tails, but note that unlike index, drecurse will produce rela‐
44 tive paths if the drecurse target is a relative path. (may be
45 repeated).
46
47 --exclude-rx-from=filename
48 read –exclude-rx patterns from filename, one pattern per-line
49 (may be repeated). Ignore completely empty lines.
50
51 --profile
52 print profiling information upon completion. Useful when test‐
53 ing performance of the traversal algorithms.
54
56 bup drecurse -x /
57
59 bup-index(1)
60
62 Part of the bup(1) suite.
63
65 Avery Pennarun <apenwarr@gmail.com>.
66
67
68
69Bup 0.29.1 2017-03-26 bup-drecurse(1)