A collection of random scripts I wrote in BASH for whatever reason.
Gives a logo and a directory full of images, it adds the logo to the the images.
You can also set which corner to put the logo on and the size of the logo.
./PutlogoGUI.sh
and then follow the instructions on the screen.
Makes it easier to download edX and Coursera courses automatically.
It uses the utilities "edx-dl" and "coursera-dl".
./DownloadCourses.sh
and then follow the instructions on the screen.
Converts audio files to .mp3 320Kbps and then sets the album name, cover, and artist name.
It uses the utilities "tageditor" and "ffmpeg".
./SetAlbums.sh [Tracklist]
Where Tracklist is a file that contains the paths of the tracks to be edited, one per line.
Given a width and height, it divides the image into files of equal width and height.
It uses imagemagick.
./DivideImages.sh [Width] [Height] [Image] [IncludeName]
Where Width and Height are the size of the partitions you want.
Set IncludeName to 1 if you want the output to be X_Y_name.png instead of X_Y.png. Otherwise, leave it empty.
This reconstructs the image that was divided by DivideImage.sh.
It also uses imagemagick.
./ReconstructImage.sh
Just run it from the directory where the divided images are. The final image will be output.png.
Given a list of files that are encoded in base64, it decodes them.
./decodefile.sh [File]
Where File is a file that containts the paths of the files to be decoded, one per line.
Given a list of files that have their names encoded in base64, it decodes their names and renames the files to their new names.
./decodename.sh [File]
Where File is a file that containts the paths of the files whos names are to be decoded, one per line.