If you know what kind of files you want to delete, it's not difficult: find <directory where to seach> -name <kinds of file to delete> <option:for example file of 0 size> -exec rm -i {} \;. For instance :
find /opt -name tralala.txt -exec rm -i {} \;
You only have to had whatever option you want concerning the size, time access, and so on. Have a look at find options
|