- I am new at scripting and need help developing a script that will look at a diff file size I've created from the original file and compare the size to the orignal and send a return code of 1 to the /etc/notify if the file is less than 6-% of its original size.
- Basically:
- If diff_file < 60% of original_file
- send return code 1 to start paging.
- else
- send return code 0 to stop paging
Obi-Won-Knewbie
0
Newbie Poster
thekashyap
193
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.