Archive

Archive for April, 2009

Howto: Automatically spin down external usb hard drives in Ubuntu

April 4th, 2009 18 comments


Spinning down external usb hard drives in Ubuntu doesn’t allways happen automatically in Ubuntu. To force a spindown, you can issue the command

sync
sdparm --flexible --command=stop /dev/sdX &>/dev/null

where you should replace the sdX entry by the correct name of your external hard drive (usually sdb, sdc or similar).
To do this automatically every 30 minutes, save the code below as e.g. ~/bin/spindown/spindown.sh.
Read more…

Categories: Uncategorized Tags:

Howto: Mount a ftp drive in Ubuntu

April 4th, 2009 19 comments

When working with websites, you often need to move files to-and-fro a ftp server. This is usually done using a dedicated ftp application such as gftp. In this long run, this is a very time consuming process so why not just mount the ftp drive as a directory in your home folder?
Read more…

Categories: Uncategorized Tags:

Howto: Download all files of a specific type from a website

April 2nd, 2009 1 comment


In this howto, we will describe how to download all files of a specific type from a website. The first thing you need is to install wget

sudo apt-get install wget

Read more…

Categories: Uncategorized Tags: