rellapdrella

find file bigger than 1G and do something

Feb 7th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. for i in $(/usr/bin/find /home/mexaladm/mexal/dati/pxlog/ -name "*.log" -type f -size +1G); do echo "" > $i; done;
Advertisement
Add Comment
Please, Sign In to add comment