Scripting

Randomize filenames

This is a simple bash script to create random filenames of all jpg-files (*.jpg) in a folder using the linux commands mv, sha1sum and cut. #!/bin/bash # Randomize filenames for fname in *.jpg; do mv “$fname” $(echo “$fname” | \ sha1sum | \ cut -f1 -d ‘ ‘ | \ cut -b 1-5).jpg done The […]

Read More
Scripting

Datarecovery using Ubuntu Linux

This post describes my workflow in recovering data from defective harddrives. These harddrives are usually not readable in Windows and in most cases not even readable or mountable in linux as well. One of the great things with linux is all the tools that are available, just do a Google search and you find forum […]

Read More