Search Results

Search: Posts Made By: audiophile
2,566
Posted By audiophile
Nice, thanks for the suggestions!
Nice, thanks for the suggestions!
2,566
Posted By audiophile
help using find/xargs to apply mp3gain to files
I need to apply mp3gain (album mode) to all mp3 files in a given directory. Each album is in its own directory under /media/data/music/albums for example:

/media/data/music/albums/foo...
1,034
Posted By audiophile
harvesting posts from html code
How could I use sed to find a string, then take the contents of the next line to a new file? I want to try to collect data from thread. If I look at the html for the page, it seems like I can cut...
2,297
Posted By audiophile
Thanks guys...
Thanks guys...
2,297
Posted By audiophile
usage of sed question for experts
I need a little help with sed. Basically, I need to parse out selections from the output of hddtemp so conky can display some hdd temps for me. I have hddtemp in daemon mode so A simple 'nc...
1,757
Posted By audiophile
thanks!
thanks!
1,757
Posted By audiophile
sed usage
I'd like to extract the temps from the following command via a series of sed statements but the actual syntax is beyond me.

$ nc localhost 7634 ...
4,786
Posted By audiophile
Thanks for the suggestion, but no go :(
Thanks for the suggestion, but no go :(
4,786
Posted By audiophile
Yeah, single or double quotes... I'm sure it's...
Yeah, single or double quotes... I'm sure it's something in the perl code
4,786
Posted By audiophile
It gave the same error... it must be something in...
It gave the same error... it must be something in how the perl script is calling the bash script because the bash script works just fine in dirs with and without spaces....
4,786
Posted By audiophile
perl script chokes on dirs with spaces
Basically, I have a perl script that calls enables one to resume where a video file left off (i.e. where the user stopped playback) that chokes on files that are located in a path that contains...
6,293
Posted By audiophile
Killer! Thanks for the suggestions guys. I...
Killer! Thanks for the suggestions guys. I found rename.pl from this site (http://search.cpan.org/~pederst/rename-1.6/).
6,293
Posted By audiophile
bash script to rename in mass
Basically, I have a huge amount of files (ripped audiobooks) that all have the same garbage in their filenames. I'm wondering how to go about writing a bash script to mass rename them. Example...
5,419
Posted By audiophile
Typeo... just plain bash :) Thanks as always...
Typeo... just plain bash :)

Thanks as always for the great replies. These forums and the contributing members are terrific!
5,419
Posted By audiophile
if then statements with two conditions...?
Is it possible to setup two conditions for an if then statement in a pbash script?

For example, depending on the text value of a variable I parse out of an xml file, I want to assign it a...
2,338
Posted By audiophile
Thanks for the info, all. It works very well and...
Thanks for the info, all. It works very well and in a single line of code!
2,338
Posted By audiophile
Thanks for the replies, all. I'm using BASH for...
Thanks for the replies, all. I'm using BASH for this script. That ${parameter:=word} syntax is foreign to me...
2,338
Posted By audiophile
check a list of vars
I have about 20 different variables that I need to check for null values then replace with a specific string if they are null. I've been doing this via 20 different if then statements like this:
...
6,090
Posted By audiophile
It accepted it this time, but the output isn't...
It accepted it this time, but the output isn't correct. It should draw a dashed line on a graph @ the value of the constant. When I add the two dashes, it treats the :dashes as part of the...
6,090
Posted By audiophile
perl -c weather.cgi weather.cgi syntax OK ...
perl -c weather.cgi
weather.cgi syntax OK

Sure does.... this is crazy that rrdtool will not accept the dahses option through my perl script but it will if I do it through the shell!
6,090
Posted By audiophile
Sure can... from /var/log/apache2/error.log ...
Sure can... from /var/log/apache2/error.log

[Mon Sep 15 15:19:02 2008] [error] [client 192.168.1.5] Warning: XML::LibXML compiled against libxml2 20632, but runtime libxml2 is older 20630,...
6,090
Posted By audiophile
@frank - I tried it that was as well... the graph...
@frank - I tried it that was as well... the graph fails to get created.
6,090
Posted By audiophile
@KevinADC - Tried it, but it doesn't work... ...
@KevinADC - Tried it, but it doesn't work...
"HRULE:$standardpress#BBBB00:\"$standardpress constant\":dashes\\n",
6,090
Posted By audiophile
problems with double quotes in PERL
I have a cgi script I run through apache2 and I need to have a line that contains double quotes within double quotes.

Here's what I need PERL to pass to rrdtool:

HRULE:30#BBBB00:"30.0...
10,081
Posted By audiophile
having a bash script convert ft to meters with 1 decimal
What is the correct syntax to limit the number of decimals to 1 or 0 in a bash script? Here is the partial code I have which works, but if I echo $meters, it has 4 or 5 decimals:

METERS=`echo...
Showing results 1 to 25 of 30

 
All times are GMT -4. The time now is 06:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy