you know what sucks? - TechRepublic
General discussion
October 13, 2007 at 07:11 PM
danlm

you know what sucks?

by danlm . Updated 18 years, 9 months ago

When your writing code on a remote machine and perform a ‘rm’ to remove some of the test files created… But when you do the ‘rm *.jpg’ you didn’t quite do it that way… you did ‘rm * .jpg’.

You know what sucks even more? The folder wasn’t backed up. Chuckle, that has been resolved… But too late.

The remote machine is mine. It is a shell hosting machine that I run. I was writing Perl scripts to give me break downs of bandwidth by ip collected from the firewall rule sets. I was working on the graphics using Perl and gd module from cpan. The mysql db is set up and has a small history that I was collaging from another script that I had previously written. But, alas… Both scripts were in the same directory that I did the ‘rm ‘ on. Poof, gone… History.

Chuckle, the sad part is… I’m not sure I really care… I’ll rewrite the update script, but I found that the graphics just wasn’t worth it. I can figure out the same thing through select statements.

Oh well… Hope everyone has a good weekend.

Dan

This discussion is locked

All Comments