Home » Infrastructure » Unix » How to check filesize in unix?
How to check filesize in unix? [message #550391] Mon, 09 April 2012 04:10 Go to next message
aryanna
Messages: 44
Registered: July 2007
Member

Hi,

I have 1 program to generate file into UNIX and then transfer it to another application but the size must 6MB or below.

How to write an UNIX script for this logic:

if filesize > 6MB then
sent email to say exceed file size.
else
transfer file.

Thanks.


Re: How to check filesize in unix? [message #550399 is a reply to message #550391] Mon, 09 April 2012 04:44 Go to previous message
Michel Cadot
Messages: 60062
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no real connection with Oracle database.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: Context Switches and System Calls in HP-UX
Next Topic: automate to starting and shutdown of database
Goto Forum:
  


Current Time: Fri Dec 26 19:01:29 CST 2014

Total time taken to generate the page: 0.04586 seconds