14 Jun
2001
14 Jun
'01
18:52
Hi everybody, thank's for the help. i've now an other problem : i want the script to tell me when a directory has a size up to 500M. i can't get it with du -hs /mnt/charlie/backup because it shows size of the directory and the name. here is the code i've done : for size in ( du -hs /mnt/charlie/backup ); do if [ $size = 500M ]; then echo Need to rip a CD fi done thank you for help Charlie Ti