View Single Post
Old Jun 30th, 2005, 8:10 AM   #2
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
use du to get file sizes... check out the du man page for useful options. just store the output of 'du filename' in a variable and set up an if block... put the commands that are conditional on size within the if block.
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell

http://web.bryant.edu/~srk2
skuinders is offline   Reply With Quote