Useful Stuff

You’ll find some Code Snippets, Scripts and other stuff which i wrote here. Dunno how useful they might be for you. Anyway: The Scripts are free, so have fun with them. By the way: Use at your own risk.

Bash Scripts
  imageSorting.sh This Script sorts your images into YEAR/FORMAT/SIZE where SIZE is large, medium, small or thumb. It needs exiftool and ImageMagick (You can change the paths to those binaries within the bash file). The Script takes command-line arguments (try -h). It’s not moving the original files, just c(o)p(ying) them. With ImageMagick it tries to despeckle, auto-orient and normalize the images. It can thread (see -p). Download
  getCopies.sh This will use md5sum or sha1sum (setable in file) to make a list of your files within a specific folder and m(o)v(e) all copies to the folder “copies”. You can define in file where to store the folder “copies”. Download
  audioSorting.sh This Script sorts your audio files (mp3 and ogg) into Artist/Year_Album/(Track)Title.mp3|ogg. It needs id3info and ogginfo. The Script takes command-line arguments like imageSorting script (try -h). It’s not moving the original files, just c(o)p(ying) them. It can thread (see -p). Download
  copyArchives.sh This Script will copy your archives (.gz, .rar, .zip, .tar, .bz2) into archives/format – it will make sure to not overwrite existing files, so you can run the script on different directories to get all archives within one folder per format – This reduces your work because you have everything in one place. The Script is doing nothing more yet. Download
PHP Scripts
  getKeywords.php This Script is fetching an array of words out of a website to get an idea what words searchengines might see. Zip file available here. Download