Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Blogs
User Name



batch resize images using find, xargs and convert

Posted 02-20-2011 at 04:30 PM by dr_agon

applies to: linux, find, xargs, convert, image processing

'convert' command, which is a part of ImageMagick package can be used for image resizing, but it lacks ability to process multiple files (in version of ImageMagick 6.5.7-8 2010-12-02). Instead of writing a shell script you can use find and xargs commands to collect filenames and invoke convert with one filename at a time, like this:

find -iname "*.jpg" -printf "%f\0" \
 | xargs -0 -I {} convert
Posted in Uncategorized
Views 4280 Comments 0 dr_agon is offline

Power usage: it just keeps going up and up and up...

Posted 02-20-2011 at 10:39 AM by MrCode
Updated 02-20-2011 at 10:42 AM by MrCode
Tags linux

...with each new kernel, it seems.

A while back, when I was still running with kernel 2.6.34/35 (and earlier) on my lappy, PowerTOP would show idle power usage anywhere from 10.x W to the occasional dip into the single-digits. Now on kernel 2.6.37, it never goes below 11 W, and sometimes hovers around 12...this annoys me, because it does take a hit on my lappy's battery life (what once was 4+ hours is now 3- ).

The backlight is always at the lowest level when...
Views 2666 Comments 3 MrCode is offline

Homebrew paranoia frontend ( CLI ) for audiobooks

Posted 02-19-2011 at 05:16 PM by William (Dthdealer) (Whaling the FOSS)

I've had my troubles with GUI audio CD rippers lately, whether it be DBUS connection issues or lack of 'codecs' for cdda or wav ( sounds as weird as it is ). On top of that the rip-one-at-a-time strategy was too time consuming for the repetitive audio book ripping I am doing, which involved placing four disc rips under the same title.

So I wrote a shell script that does most of the work for me


#	Automatically rips CDs in the fashion
Posted in Uncategorized
Views 894 Comments 2 William (Dthdealer) is offline

You've got mail

Posted 02-18-2011 at 03:09 AM by peonuser
Updated 02-20-2011 at 01:00 PM by peonuser

Replaced dovecot with courier and my private email server seems to work better than before.

Still have to address some problems with sql-ledger, but I have some notes as to what to do.

Ubuntu is beginning to upset me again. I went to "connect to server" and there were no options. There were before I upgraded. Why was that not included as part of the upgrade. I am tired of fixing mickey mouse stuff on ubuntu. Oh that's right Mark Shuttleworth is a mac user....
Posted in Uncategorized
Views 403 Comments 0 peonuser is offline

Watching TV on your PC with TV Card and VLC

Posted 02-17-2011 at 10:02 AM by hilly

I don't know how many of you are like me and have sometimes spent hours trying to get one of the repository programs such as Kaffeine or Me-TV to work properly with your TV Card.

I came across a dead simple and very quick and dirty way of viewing Terrestial TV with my PC and my TV card using VLC the other week.

All that it entailed was the creation of a Channels.conf file which I did with w-scan which if you don't already have it installed you can do so as follows:...
LQ Newbie
Posted in Uncategorized
Views 1458 Comments 1 hilly is offline


All times are GMT -5. The time now is 02:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration