GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GAMMU-BACKUP (5)

NAME

gammu-backup - gammu(1) backup file format. \$1 \n[an-margin] level \n[rst2man-indent-level] level margin: \n[rst2man-indent\n[rst2man-indent-level]] - \n[rst2man-indent0] \n[rst2man-indent1] \n[rst2man-indent2]

The backup format is text file encoded in either ASCII or UCS-2-BE encodings.

This file use ini file syntax, see ini.

CONTENTS

Examples
Author
Copyright

EXAMPLES

If you will backup settings to Gammu text file, it will be possible to edit it. It\(aqs easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on fBrestorefR (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (useful with Unicode phones - it isn\(aqt important, what locale is set in computer and no conversion Unicode -> ASCII and ASCII -> Unicode is done).

You can use any editor with regular expressions function to edit backup text file. Examples of such editors can be  vim or  TextPad which both do support regular expressions.

Remove info about voice tags

Find:


^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n


Replace:


<blank>


Change all numbers starting from +3620, +3630, +3660, +3670 to +3620

Find:


Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)\n


Replace:


Type = NumberMobile\nEntry\1Text = "\+3620


Change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line

Find:


Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n


Replace:


Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n


SEE ALSO: converting-formats

AUTHOR

Michal Čihař <michal@cihar.com>

COPYRIGHT

2009-2015, Michal Čihař <michal@cihar.com>
Search for    or go to Top of page |  Section 5 |  Main Index


1.37.0 GAMMU-BACKUP (5) February 03, 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.