#! /bin/geek
Jun. 2nd, 2005 12:36 amI knew there's a reason I put an eject command in my CD-ripping shell script. Since my linux box crashes the home network, I can't connect it. Thus I need to SSH into it using a crossover cable to my laptop. Unfortunately, when I have the crossover cable connected to the laptop and the laptop connected wirelessly to the home network (and the home network connected to the hip bone), Firefox and Thunderbird use the wired connection instead of the wireless connection, which gets them nowhere. Thus I run the ripper in screen on the linux box, detatch the window, logout, detatch the crossover cable, and carry on. When the linux box ejects the CD I'm ripping, I know it's time to stop what I'm doing, reconnect the crossover cable, log in to the linux box, and start ripping the next CD. Is it an ugly hack, yes, but you should see the script that rips CDs.
Now all I need to do is get an MP3 player (tomorrow?), write another hack shell script to recursively call my hack mpc2mp3 shell script over my directory structure (anyone have any better ideas then greping and awking an ls piped to a dummy file, or something like that), run this script on what likely will amount to ~10 GB of music, load said 10 GB of music to said MP3 player (with my laptop, the device currently able to interface with said MP3 player, lacking 10 contiguous GBs of hard drive space (hurrah partitions), though I've now got more free space than I've had in a while, having moved a bunch of stuff off the laptop onto the linux box.
I really should get SAMBA working on the box. Not that it will help much right now, but it will make long term getting of stuff from the linux box to the laptop much easier.
In other news, I've purchased a camera to replace my old one, which walked away in Tarble last month. Konica Minolta DiMAGE Z10. Should be here Friday afternoon, in time for most of reunion and Vancouver, which is next week with the family.
Now all I need to do is get an MP3 player (tomorrow?), write another hack shell script to recursively call my hack mpc2mp3 shell script over my directory structure (anyone have any better ideas then greping and awking an ls piped to a dummy file, or something like that), run this script on what likely will amount to ~10 GB of music, load said 10 GB of music to said MP3 player (with my laptop, the device currently able to interface with said MP3 player, lacking 10 contiguous GBs of hard drive space (hurrah partitions), though I've now got more free space than I've had in a while, having moved a bunch of stuff off the laptop onto the linux box.
I really should get SAMBA working on the box. Not that it will help much right now, but it will make long term getting of stuff from the linux box to the laptop much easier.
In other news, I've purchased a camera to replace my old one, which walked away in Tarble last month. Konica Minolta DiMAGE Z10. Should be here Friday afternoon, in time for most of reunion and Vancouver, which is next week with the family.
no subject
Date: 2005-06-02 07:08 am (UTC)% find . -type f -print0 | xargs -0 mpc2mp3You can also use something like
-name '*.mpc'as another argument tofindif you have other file types in your directories (assuming that's the extension, I have no idea).no subject
Date: 2005-06-02 04:42 pm (UTC)-type fand added-maxdepth 2. That looks like it works, but I don't have all my cds ripped yet to really test it and test it good.