Other articles

  1. Unzip all zip files in the directory tree

    Tue 09 February 2016

    If you have a directory containing a lot of zip files with data.

    You might find the following command useful. It unzips all zip files under the current directory in their current location.

    find . -name '*.zip' -exec sh -c 'unzip -o -d "${0%/*}" "$0"' '{}' ';'
    
    read more
  2. Rename all files in a directory to lower case

    Tue 09 February 2016

    I had a directory full of CEL files, which I wanted to bring to lower case for consistency with other CEL files I had within that project.

    To rename all files in a specific directory on a Debian based system you can use:

    rename 'y/A-Z/a-z/' *
    

    Or if you ...

    read more
  3. Convert avi to wmv

    Mon 08 February 2016

    If you ever want to embed a video file in a PowerPoint presentation, the following command can be useful. It allows you to convert a video file to wmv.

    The wmv format is better supported for playback within PowerPoint (at least on Windows systems). mencoder luckily makes this very easy ...

    read more
  4. Recursively copy all jpeg files to a single directory

    Sat 06 February 2016

    I have backups from multiple machines on one external hard drive. No I wanted to combine all pictures from those machines into one big folder, so I could easily upload them into owncloud and have one place with all our images.

    This job turned out to be simple using a ...

    read more

Page 1 / 1