find . -mtime +30 -type f | xargs rm -f

>>>>> "Neeraj" == Neeraj Manral <[EMAIL PROTECTED]> writes:

    Neeraj> Hi How do i change the command to make it user friendly .I
    Neeraj> usually run a command to delete all files which are older
    Neeraj> than 30 days .The command is quite lengthy can i change it
    Neeraj> to some thing that is just say small .Because its
    Neeraj> difficult for othres to use it ..and remember it ..  I
    Neeraj> think i have read somewhere of this sort in unix .But i am
    Neeraj> not remembering it .Any clue would be appriciated ..

    Neeraj> Regards raj ...
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/

----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to