On 30/05/03 12:03 -0000, Dipankar Mitra wrote:
> Hello All
> 
> I have written a script that check if a file is more than 60days 
> old & more than 1GB in size.
> 
> The script is giving the output but what is happening is the 
> output is having lines which is reapeating.
If you want to eliminate directory information,
man find, see the -type f option.
If you just want to list everything, but keep the output unique without
modifying your script, man sort, man uniq.
I don't think find gives duplicate information when checking files.

Devdas Bhagat


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to