Quote:
Originally Posted by Yogesh Sawant
try replacing this: Code:
size_dir=$(stat -c %s $1) #$1 has the directory name (e.g. /root/kamal)
with:
Code:
size_dir=$(/usr/bin/stat -c %s $1) #$1 has the directory name (e.g. /root/kamal)
if this doesn't work either, find where is the stat command present at your system and include its full path
|
hai ,
i dont want to use the stat command i want to replace it with other command can u suggest some other code for simillar o/p ....
thanks & regards
kamal