Skip to content
/ scripts Public
forked from acabal/scripts

A handful of short Bash scripts that make my life easier.

Notifications You must be signed in to change notification settings

camoz/scripts

 
 

Repository files navigation

#Bash Scripts

A collection of simple bash scripts that I've created and found useful. Use the --help flag for a more detailed description of each one.

##beep Play a sound and show a notification using notify-send.

##ebook-extract Extract an epub or a mobi ebook into FILENAME.extracted/, or into the specified new target directory.

##encrypted-folder Create, mount, and unmount encfs volumes.

##external-ip Display the IP address of this host as seen from the public internet.

##gateway Display the gateway (typically the router) address of the current network.

##geolocate-ip Use the ipinfodb.com API to geolocate a list of IP addresses from arguments, a file, or standard input. By default the API key for ipinfodb.com is read from ~/.config/geolocate-ip/ipinfodb.com-api-key

##kindle-sync Compile and sync ebooks in ~/documents/ebooks/ to an attached Kindle device, then eject it. Epub files are compiled to mobi files and cover thumbnails are transferred automatically.

##ogg-cover-art Add cover art to an OGG file.

##nook-sync Sync ebooks in ~/documents/ebooks/ to an attached Nook device, then eject it.

##pw Create, edit, and view gpg-encrypted passwords stored in ~/.passwords/.

##remove-old-kernels Automatically remove unused kernels from the system.

##screen-toggle Toggle the laptop display on or off.

##socks-tunnel Control a transparent system-level or browser-level SOCKS tunnel through a remote proxy.

##super-ssh Open or resume an SSH connection using GNOME Terminal and MOSH.

##update-linode-dns-record Check if the IP address of this host matches the DNS records of a remote host. If it doesn't match, update the DNS records using the Linode API.

##update-digital-ocean-dns-record Check if the IP address of this host matches the DNS records of a remote host. If it doesn't match, update the DNS records using the Digital Ocean API.

About

A handful of short Bash scripts that make my life easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%