Search Results

Search: Posts Made By: Balachandar
74,529
Posted By Balachandar
compile time error when i execute this code
Hi all,
Please tell me to solve this issue,

ROTATE_FILES=" <PATH>"
REAL_FILE="MQ.log"

function rotate_files()
{
for j in $1;do
echo "Loop1"

if [ -d $j ]
then
for i in `ls -a /$j`
do...
74,529
Posted By Balachandar
bug in checking the file size
Thanks infyanurag and all

the code works fine but i still get some bugs.......
Its printing the loop1 and MQ.log but when it goes to checking
the file size it throws error...... "ls: MQ.log: No...
74,529
Posted By Balachandar
unix script to check the file size
please tell me in my case how i can modify the code
74,529
Posted By Balachandar
unix script to check whether particular file exists and to find its size
I want to find the size of particular file exists in a particular directory
and i wnt to zip it.
In the below mentioned code it should check the MQ.log in the
particular directory.Please correct...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy