Hi I have script to remove files but it can't work in directory ls *log | sort -r | sed -e 1,1d | xargs rm -f those folders are: Nov28-log Nov29-log Nov30-log Send instant messages to your online friends http://uk.messenger.yahoo.com