scripts

A collection of command line scripts.

Source Code

github

rbackup

Backup assistance script

History

  • 2023-03-22 (1.0.0): Release.

Examples

CommandResult
rbackup file file dir/Backs up arguments
rbackup dir/ -cEncrypts and backs up arguments (also backs up unencrypted archives)
rbackup dir/ -rLocal and full remote backup of arguments
rbackup dir/ -r remote1,remote2,...Local and specified remote backups of arguments

rdisk (formerly amntr)

Simplifies mounting and unmounting on the command line. Supports static mount points for specific UUIDs and LUKS encrypted devices. Specific devices may be protected from unmounting/ejecting unless -a is added to the command.

History

  • 2023-03-22: Rename: amntr -> rdisk.
  • 2023-03-22 (3.2.0): Embedded sudo into commands.
  • 2023-03-17 (3.1.0): Added support for opening LUKS devices with key files.
  • 2023-03-16 (3.0.0): Rewrite.
  • 2023-03-15 (2.0.0): Added support for drives encrypted with LUKS.
  • 2020-08-29 (1.0.0): Release.

Examples

CommandResult
rdisk -mMounts all connected devices
rdisk -uUnmounts all connected devices
rdisk -ueUnmounts and powers down all connected devices
rdisk -ueaUnmounts and powers down all connectec devices, including protected partitions