removing older files with find

find . -mtime +7 -exec rm {} \; This finds and deletes files with a modified time exceeding 7 days… Every once in a while this becomes hugely necessary in pruning older logfiles, Since it has an “rm” command in it, I always look for the exact syntax and test. –doug

Continue Reading

reading out the history of a file under svn

I found this code on the web a year or so ago – I ran into a situation where I needed to look through change on a file kept in version control in subversion, in detail. I needed what change was made, by whom, and the sequence in which the changes were made to trace…

Continue Reading
  • 1
  • 2