1BTARCMP(1) General Commands Manual BTARCMP(1)
2
3
4
6 btarcmp - a diff for Barry tar backup files
7
9 btarcmp [-b][-d db][-D db][-h][-I charset][-P][-S][-v] tar0 tar1
10
12 btarcmp takes two Barry backup tar files on the command line, and dis‐
13 plays the differences it finds between them. If records can be parsed,
14 individual field differences are also displayed. Added and removed
15 records are noted. Differences in database availability are noted as
16 well. If unable to parse the records, hex dumps are used.
17
19 -b Use brief filename markers. Useful when tar filenames are
20 extremely long.
21
22 -d db Name of database to compare. Can be used multiple times to com‐
23 pare multiple databases. If not specified, all databases are
24 compared.
25
26 -D db Name of database to skip. Can be used multiple times. Over‐
27 rides all other database selection options.
28
29 -h Show summary of options.
30
31 -I charset
32 Specifies the iconv charset to use for converting international
33 strings. The Blackberry uses the WINDOWS-1252 charset, which is
34 incompatible with the more common code pages used in Linux. The
35 most useful charset to use with this option is UTF-8, and is
36 highly recommended. Any other charset available via 'iconv
37 --list' can be used here too, but may not be successful for some
38 character conversions.
39
40 -S Displays list of known database records, which can be parsed.
41
42 -v Verbose output, which includes record data of added and deleted
43 records in the output. If used twice, hex data is printed as
44 well.
45
46
48 btarcmp is part of the Barry project.
49
51 http://www.netdirect.ca/barry
52
53
54
55
56 January 20, 2010 BTARCMP(1)