A collection of bash scripts I’ve written for various things.

Scripts are hosted on GitHub, see the repository here.


Backup Scripts - Scripts to backup files and directories.

bak
Creates a timestamped copy of a file or directory and prompts you to move it to a specified directory.

backcloud
Backs up specified directories to cloud storage using rclone.

backhome
Backs up home directory to external drive using rsync.


Obsdiain Scripts - Scripts that add content to Obsidian.

todo
Adds a todo item to a specified note.

sortspace
Copies selected text to a specified note.

recipe_lint
Removes superflous details from internet recipes


File manager scripts - Scripts to use with Thunar (or other file managers).

bak
Creates a timestamped copy of a file or directory.

lowercase
Converts selected filenames to lowercase with no spaces.

mp3oncat
Concatenates selected audio files into one file.

swapname
Swaps the names of two selected files.

verifysha256
Verifies the sha256 hash of a file.


General Scripts

terminal_header
Adds a header to terminal sessions.

verify_sha256
Verifies the sha256 hash of a file.

walsh
Resizes an image to common wallpaper resolutions based on the aspect ratio.