Check file size in c shell script?
|
Original Message
|
Name: dado1
Date: September 24, 2005 at 17:16:25 Pacific
Subject: Check file size in c shell script?OS: Win XPCPU/Ram: 1GB |
Comment: Hi, I want to use an 'if statement' that will check if the file is greater in size than a certain value, but cannot get it to work. I know that adding 'c' to a value makes it in kilobytes and that + means greater and - less, but I do not know how to use 'size' command with this because if(size +10c filename) does not work for me. Your help is appreciated!
Report Offensive Message For Removal
|
Use following form to reply to current message: