Posts Tagged ‘ubuntu’

Copy files on Linux with exclude

Saturday, May 16th, 2015

This is what I use to make a backup copy of all my images to a temporary folder in Linux. It excludes a number of file extensions, like the ones for movies. It is executed from the folder that contains the files you want to copy.

sudo tar cvf - * --exclude *.MTS --exclude *.mpg --exclude 
*.MPG --exclude *.mp4 --exclude *.modd --exclude *.db 
--exclude *.avi --exclude *.AVI --exclude *.THM --exclude 
*.idx --exclude *.info --exclude *.mov --exclude *.MOV 
--exclude *.zip --exclude *.dat --exclude *.db  --exclude 
adirectory/* | ( cd /media/spruit/ausbstick; tar xfp -)

Midi keyboard in Ubuntu

Monday, April 9th, 2012

There aren’t a lot of good tutorials on how to set up your midi keyboard in Ubuntu. Here is how I did it.

  • Get a midi keyboard (duh!). Mine is an M-AUDIO Oxygen 61.
  • Install Jack Audio, it connects your keyboard with your synthesizer software.
  • Install Bristol, it provides a good set of synthesizers.
  • OPTIONAL install monoBristol, it provides a GUI to Bristol to start up other instruments.

This should give you all you need to start playing your keyboard. However, you would need to start up Jack Audio and Bristol separately every time and also connect your midi keyboard to your synthesizer software and your software to your speakers via Jack Audio each time. Fortunately it is easy to script this in Linux, since there are command line equivalents for all steps.

Here is my script that fires up a Hammond Organ and a Rhodes Bass Piano at the same time 🙂


O, and off course all this costs EUR 0,00 because the software is open source…