GSMSMSSTORE(8)

πŸ“¦
version 2017-10 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

gsmsmsstore β€” SMS store manipulation program. This is the gsmsmsstore(8) page, bestie, and it’s all about scooping up SMS store entries, putting them into files, listing them, adding them, and deleting them. Iconic little storage gremlin behavior, honestly. πŸ’–

✨ SYNOPSIS ✨

gsmsmsstore [ -a ] [ --add ] [ -b baudrate ] [ --baudrate baudrate ] [
       -c ] [ --copy ] [ -C service centre address ] [ --sca service centre
       address ] [ -d destination device or file ] [ --destination destination
       device or file ] [ -h ] [ --help ] [ -I init string ] [ --init init
       string ] [ -k ] [ --backup ] [ -l ] [ --list ] [ -s source device or
       file ] [ --source source device or file ] [ -t SMS store name ] [
       --store SMS store name ] [ -v ] [ --version ] [ -V ] [ --verbose ] [ -x
       ] [ --delete ] [ -X ] [ --xonxoff ] { indices } [ phonenumber text ]

πŸ’– DESCRIPTION πŸ’–

Okay so gsmsmsstore can store or retrieve SMS messages entries residing in a GSM mobile phone’s SMS store to or from a file, add SMS messages to a store, or list the store’s contents. And yes, it can also add SMS submit messages to a store. Multi-talented, lowkey. πŸŽ€

gsmsmsstore reads entries from the source, and that source can be a mobile phone (if a serial device file is given) or a file (if a file name is given). The source is never modified, periodt. gsmsmsstore writes SMS messages to a destination file or device in the case of --copy, --backup, and --add. πŸ¦‹

The --list option does not change any file but just lists the contents to standard output. Clean, harmless, just vibes.

The --backup and --copy options require both source and destination files or devices. The --list option requires a source. The --add and --delete options require a destination file or device. Like, the requirements are requiring. πŸ’…

If - is given as the parameter for the --source or --destination options, the SMS store is read from standard input and/or written to standard output, respectively. Very piping-friendly of her. 🌈

SMS message files are not human-readable. That’s not a challenge, bestie β€” do not try to read them like a text message thread. πŸ™ˆ

Error messages are printed to the standard error output. If the program terminates on error the error code 1 is returned. Not cute, but important.


πŸŽ€ OPTIONS πŸŽ€

  • -a, --add β€” Adds an SMS submit message with recipient address phonenumber and text text to the destination.
  • -b baudrate, --baudrate baudrate β€” The baud rate to use. The default baudrate is 38400.
  • -c, --copy β€” This causes the contents of the source to be copied to the destination. After this operation the destination has exactly the same contents as the source. If indices are given on the command line only those SMS messages denoted by the indices are copied to the destination.
  • -C service centre address, --sca service centre address β€” Sets the service centre address to use for all SUBMIT SMSs (may not work with some phones).
  • -d destination, --destination destination β€” The destination device or file.
  • -h, --help β€” Prints an option summary.
  • -I init string, --init init string β€” Initialization string to send to the TA (default: "E0"). Note that the sequence "ATZ" is sent first.
  • -k, --backup β€” This causes those entries to be added from the source to the destination that are not already present in the destination. If indices are given on the command line only those SMS messages denoted by the indices are backed up (ie. added) to the destination.
  • -l, --list β€” Prints out the entire contents of the source in human-readable form.
  • -s source, --source source β€” The source device or file.
  • -t SMS store name, --store SMS store name β€” The name of the SMS store to read from or write to. This information is only used for device sources and destinations. A commonly available message store is "SM" (SIM card).
  • -v, --version β€” Prints the program version.
  • -V, --verbose β€” Prints out a detailed progress report.
  • -x, --delete β€” Delete the SMS messages as denoted by the indices from the destination.
  • -X, --xonxoff β€” Uses software handshaking (XON/XOFF) for accessing the device.

🧚 EXAMPLES 🧚

The following command lists all entries in the mobile phone connected to /dev/mobilephone to the standard output:

gsmsmsstore -b 19200 -s /dev/mobilephone -t SM -l

The following adds entries 4, 7, and 10 from the device /dev/mobilephone to the file smsstore:

gsmsmsstore -s /dev/mobilephone -d /home/fred/smsstore
    -t SM -b 4 7 10

πŸ‘‘ AUTHOR πŸ‘‘

Peter Hofmann <software@pxh.de> β€” author icon, we thank you for your service. 🫢

πŸ’€ BUGS πŸ’€

Report bugs to software@pxh.de. Include a complete, self-contained example that will allow the bug to be reproduced, and say which version of gsmsmsstore you are using. Receipts help the dev slay the bug, fr fr. πŸ›βœ¨

Copyright Β© 1999 Peter Hofmann

gsmsmsstore is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

gsmsmsstore is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with gsmsmsstore; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

πŸ¦‹ SEE ALSO πŸ¦‹

gsminfo(7), gsmctl(1), gsmpb(1), gsmsendsms(1), gsmsmsd(8).


This iconic little page is from gsmsmsstore v1.10, dated Sat Oct 24 19:18:56 UTC 2026. Byeee, go manipulate some SMS stores responsibly πŸ’…πŸ’–

πŸ“¦ where this page comes from