>1. -ls argument to find.
> 2. find . -whatever | xargs ls -l

this is giving same listing as the previous one :-)
i mean,
find . -mtime +10 | ls -l
is giving the same listing as the above command you have mentioned.

> > find -name "*" -mtime +10 -exec rm -i {} \;
> Phew. Try find . -mtime +10 | xargs rm -i

deleting is no problem. it works perfectly with the -exec rm parameters as
well.

Arvind




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to