1GAMMU-BACKUP(5)                      Gammu                     GAMMU-BACKUP(5)
2
3
4

NAME

6       gammu-backup - gammu(1) backup file format.
7
8       The  backup  format  is  text  file encoded in either ASCII or UCS-2-BE
9       encodings.
10
11       This file use ini file syntax, see ini.
12

EXAMPLES

14       If you will backup settings to Gammu text file, it will be possible  to
15       edit  it.  It's easy: many things in this file will be written double -
16       once in Unicode, once in ASCII. When you will  remove  Unicode  version
17       Gammu  will use ASCII on fBrestorefR (and you can easy edit ASCII text)
18       and will convert it according to your OS locale. When will be available
19       Unicode  version of text, it will be used instead of ASCII (useful with
20       Unicode phones - it isn't important, what locale is set in computer and
21       no conversion Unicode -> ASCII and ASCII -> Unicode is done).
22
23       You can use any editor with regular expressions function to edit backup
24       text file. Examples of such editors can be vim or TextPad which both do
25       support regular expressions.
26
27       Remove info about voice tags
28
29       Find:
30
31          ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
32
33       Replace:
34
35          <blank>
36
37       Change all numbers starting from +3620, +3630, +3660, +3670 to +3620
38
39       Find:
40
41          Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)\n
42
43       Replace:
44
45          Type = NumberMobile\nEntry\1Text = "\+3620
46
47       Change  phone  numbers  type to mobile for numbers starting from +3620,
48       +3630,... and removing the corresponding TextUnicode line
49
50       Find:
51
52          Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
53
54       Replace:
55
56          Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n
57
58       SEE ALSO:
59          converting-formats
60

AUTHOR

62       Michal Čihař <michal@cihar.com>
63
65       2009-2015, Michal Čihař <michal@cihar.com>
66
67
68
69
701.41.0                           Sep 27, 2019                  GAMMU-BACKUP(5)
Impressum