Archive for the ‘linux’ Category

Trac and remote SVN servers


2009
09.17

Do the SVN server Trac relates to have to reside on the same as the Trac installation?

At present, alas it seems so. (If you’re new to Trac and need a one-stop-shop of commands, look here.)

http://trac.edgewall.org/ticket/2828 points to and abstracts http://trac.edgewall.org/ticket/493

Seems like Trac and remote SVN is not happening yet, though SVN replication is an option… There is also an obscure comment some two years ago about a remote plugin, which was at alpha, but the project seems to have since disappeared/moved…

Sigh…

Wipe all mp3s and avis from the filesystem


2009
09.08

So you want to run a script that removes all mp3 and avi files off the filesystem. One way (in bash) as below. Comment, suggestions and feedback are welcome :) Using $EUID to check for root user, and $IFS to check for line breaks as the file names has spaces in them. IFS is saved to a temp variable, reset and then re-instated afterwards. C is the counter. Got two litte for loops in bash with backtick execution.

(more...)