Skip to content

CouldBeMathijs/bash-scripts

Repository files navigation

A Few Bash Scripts

clip.sh

Copies a file or output from a command to the clipboard.
Depends on wl-copy when using Wayland, or xclip when using X.org

flake-update.

Pulls down the latest changes made on a nix flake.
Depends on nix nh git

memcheck.sh

This script runs the Computer Graphics course engine and checks the memory usage. To run, copy the script to the project folder which contains your engine, change the Destination folder variable in the script to the working directory you wish to run the engine out of, save, exit and run the script.

topdf.sh

Generates pdf's for all .tex files in the current directory (but no subdirectories thereof).
Depends on pdflatex

updategit.sh

Replaces all old github repo URL's with URL's pointing to my new GitHub username.
Depends on git, must be personalized before use

zipper.sh

Stores all C++ header and source files except main.cpp in a zip, for easy uploading to INGInious or BlackBoard.
Depends on zip

ziptotar.sh

Replaces all .zip's with equivalent .tar.xz files from the directory the script is ran downwards, .tar.xz is more space efficient, but be careful as some programs store files in zips and you do not want to overwrite those!
Depends on tar unzip

replace-every.sh

Replaces all instances of with within plaintext file contents and file/directory names for every file withing the folder


Scripts may be added or removed over time
All of these scripts are under GPLv3

About

A few bash scripts I made, some will not be useful to anyone else, but hey

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages