Skip to content

framps/bashScriptCollection

Repository files navigation

bashScriptCollection

A collection of bashscripts I wrote which may or may not be useful for others :-)

  1. bashCommandParser.sh - Parses command flags -x and -x+ as true and -x- as false and accepts --log_options_with_args
  2. backupRestoreTestWebhostingSite.sh - Create and keep local website backups and restore the latest created backup into a test website and test the restored backup
  3. caffeine.sh - Deactivates gnome screensaver if specific programs are active and running. I use this tool on my Mint 18.1 running Mate
  4. checkMyExternalDNS.sh - Script to check whether current external IP address matches the IP address registered in a dyndns service and update the dyndns IP address if there is a mismatch
  5. executeSeafileAPIRequests.sh - Execute some seafile API requests. Can be used to test throtteling of seafile API requests
  6. figlet_variation.sh - Display text in any possible figlet fonts
  7. loginAndGetDataFromFritz.sh - bash prototype to login into AVM fritzbox and retrieve some data. See here for a Python version and here for a go version.
  8. relaySMS.sh - Tiny SMS relay server script which reads all SMS received with gammu-smsd and forwards them to another phonenumber or sends them to an email or tiggers any other activity
  9. units.sh - Converts a number in gibibits. Example: 1024 -> 1K, 1073741825 -> 1T
  10. watchFileChange.sh - Watch a file for any changes and start actions if file changes
  11. findExistingISM7MQTTparameters.sh - Helperscript for ism7mqtt (https://github.com/zivillian/ism7mqtt) which helps to find ptids which match a given search string