Aug. 11th, 2008
Guess the State!
Aug. 11th, 2008 11:05 amStep 1: Remove angry fox from leg.
Step 2: Have husband shoot fox.
It is important that you do these two steps in the correct order.
Step 2: Have husband shoot fox.
It is important that you do these two steps in the correct order.
Geek Pop Quiz!
Aug. 11th, 2008 03:02 pmIn bash, using only standard easily-available commands, how do I:
1) search an arbitrarily deep folder tree for all directories with a name matching a certain set pattern
2) delete those directories and all their contents, but *only* those directories and their contents.
There's gotta be a single command to do this. But it's also on a remote web server, meaning I can't just cheat and use the gui file system's search and delete commands.
EDIT:
hazmat provides me with
1) search an arbitrarily deep folder tree for all directories with a name matching a certain set pattern
2) delete those directories and all their contents, but *only* those directories and their contents.
There's gotta be a single command to do this. But it's also on a remote web server, meaning I can't just cheat and use the gui file system's search and delete commands.
EDIT:
find /top/of/tree -type d -name your-glob-goes-here -exec rm -r {} \;Which works perfectly!
Guess The State!
Aug. 11th, 2008 07:41 pmRobber's Gun Breaks Into Pieces During Holdup
According to the FBI, the robber kept yelling at everyone to stay down as he picked the pieces off the ground and put the gun back together again.
According to the FBI, the robber kept yelling at everyone to stay down as he picked the pieces off the ground and put the gun back together again.
