Tag: rm

  • Converting rm to mp3

    Recently I’ve run across a realmedia stream that I really want to convert to mp3 (mainly because my portable player can’t read rm files. I’ll talk about capturing rm streams in another post, but this one is going to talk about converting from rm to mp3.

    For starters, it’s possible to use mencoder for this as follows:

    (more…)

  • WordPress 2.0.4 Update

    It has been a few days now, but I noticed that WordPress 2.0.4 has now been released and is highly recommended due to the fixing of a few security issues. They also list a number of bugfixes as well. So, if you’re running a site based on wordpress it’s time to update. It’s really a fairly painless process. I do recall upgrading ONE site to 2.0.3 and it was quite painFUL…. things went quite wrong and I had to restore the database from a backup. BUT… I’ve now upgraded 5 or so installs to 2.0.4 without a hitch. (One was a 2.0.3 install and the others were (I believe) 2.0.2).

    (more…)

  • /bash/rm: argument list too long

    I can’t tell you how many times I’ve seen this complaint from the bash shell when trying to remove a bunch of files. In this case, I was trying to clear a directory where log rotating had run amuck and there was a 10 second lag in typing ls ∗.gz and seeing any output…. So, I did rm ∗.gz and got bash/rm: argument list too long in response…. So, then I though I could “surgically remove” some files and shrink the list a bit… rm ∗5∗3∗2∗.gz -f; rm ∗5∗3∗1∗.gz -f, etc, etc, etc after about 4 of these it became obvious I’d need to find another way because even some of THOSE gave the “argument list too long” error. (What’s more, it looked like I was going to have to deal with files matching ∗[1-5]∗[0-9]∗[0-9]∗gz – yuck…)

    (more…)

  • “rm -f *” undelete

    I really ought to find a way to alias “rm -f *” to “rm -i” IF the time is between 1 AM and 7 AM…. Last night I was working late (2:30AM or so when this happened). I had just made a few “refinements” to some of my audio streaming scripts (kept in a “Foreign News Sources” folder). I was curious to see if I had any scripts that were still using realplayer, so I had done a “grep realplay *” and saw a lot of results… but most were in temporary files (left over from a text editor ending in ~)… so there’s radiopragueenglish and radiopragueenglish~ …………..

    (more…)

  • Recording online streams (real / wma) to mp3 format (or ogg) with mplayer

    So, I’ve been looking back over my list of “scripts” that are pulling in audio from various news sources online for the onlineradiotv.com site. It’s also got me doing a bit more spanish language listening than I had been. In the car, I usually use an mp3 player (the nexia) with a small FM transmitter to listen. One of the problems is that I only have a very short list of sources that I can actually download an mp3 from. The rest are streams only. Some are mms (Windows media) streams, others are (rtsp) real server streams… yet others are “playlist” style asf, or ram files that point to other files (rm or asx/wma)…

    (more…)

  • More Command Line Interface Magic…. Aliases

    Enterprise Linux has a good article on some handy aliases under linux that can make CLI usage much more handy. The only warning I would have is to be careful that an alias you want to create doesn’t conflict with another useful program. (One of the comments noted that ld is the executable of the linker).

    (more…)

  • Apache2 ( apache webserver ) not restarting

    This is an error I’ve run into a few times. It’s rare enough that the second time I saw it, I had a vague memory that it had happened before. The third time though (was within the last week) I remembered and even remembered where the file was located to solve it. Here’s the problem….
    As far as I know this is an apache2 problem, not prior.
    Apache is not running. You try to start apache and receive the message…

    Cannot allocate shared memory: (17)File exists apache

    (more…)

  • Realplayer has issued a critical patch for a couple vulnerabilities

    Incidents.org is reporting that realplayer has issued a patch in response to two vulnerabilities discovered by eEye. The first involves a skin file which could be loaded through the browser without permission and the second, a specially made .rm file which could allow code execution.

    Update 11/11 – The security fix has further coverage