find dir -name ‘wildcard_search‘ | tar -cvjf filename.tar.bz2 -T – –no-recursion
May 27, 2010
August 4, 2009
Powering down usb harddrive in ubuntu
After looking for a solution for a while I’ve found a way to powerdown external USB harddrive:
sudo sdparm –command=stop /dev/sdb
Full script for Jaunty:
sudo udevadm control –stop-exec-queue
sudo sdparm -6 -f –command=stop $1
read -p “Unplug the media and press any key to continue”
sudo udevadm control –start-exec-queue
March 23, 2009
My favorite command line tools
cone – excelent e-mail client
centerim-utf8 – instant messanger
w3m – web browser
cplay is an easy tool to play music. Have to rememeber to use z to pause, a to add files/folders to play list and tab to switch between directory/playlist…
There is also a powerful pair of mpd / ncmpc to play music from database but I’m sort of using Ipod for this )))