You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.9 KiB

Scripts

A collection of useful scripts. These scripts are written by various authors. Attribution and license details is provided in ./COPYRIGHT.txt.

Scripts info

Script Info
abc A Binary Comparison tool.
db Quickly cd into specific directories using short aliases.
eliza Runs the perl clone of the Eliza chatbot.
ffconv Batch convert from one format to another.
ffconv-ar Batch convert from one format to another without preserving metadata.
ffr Record a given window with ffmpeg to the current directory.
gpltopnm Convert gpl to ppm.
inc Copy one file to the number of files by hex in the current directory.
makeself Make self-extractable archives for *nix-likes.
matrix-decrypt Decrypt matrix attachments that are encrypted.
matrix-upload Upload attachment to matrix homeserver.
mkv-cat Convert multiple videos into one.
nds-banner Create NDS banner.bin files.
nlzss Compress/decompress Nintendo's different LZSS formats.
nlzss-c Compress Nintendo's different LZSS formats.
pa-rescan Rescan audio devices (pulseaudio).
pip-upgrade Upgrade all pip packages.
repack Completely repack an NDS rom with ndstool.
scanif Scan several documents one-by-one with SANE/CUPS.
unpack Completely unpack an NDS rom with ndstool.
whereami Reimplementation of the old whereami command in Tcl.
yt-dl youtube-dl "magic" download.
yt-mpeg Turn wav/cover image into a video optimised for yt.

db

./cfg/db contains the directories in your database. This is the file you edit, and it follows a simple syntax.

<alias-name> /path/to/dir

The alias name needs to be one argument...otherwise the script can't parse it.

After editing the db file, you will run ./bin/db -- which parses the data and outputs a file to ./dat/db-c containing your aliases in shell form. Add source /path/to/Scripts/dat/db-c to your shell config. After that, just remember to source your shell config and everything should work.