Skip to content

Commit

Permalink
add cleanup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Brock committed Dec 26, 2014
1 parent 5ac95d5 commit b6c7854
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# username|ipaddr
# brock|10.8.1.1

find /var/log -exec sed -i -r "/$1/d" {} \;
find /var -name '*.log' -exec sed -i -r "/$1/d" {} \;

0 comments on commit b6c7854

Please sign in to comment.