__/ [Eric] on Saturday 24 December 2005 07:02 \__
> Hi,
> I've got some files on my disk that i find are in dos text format. This
> was unexpected and now I am wondering how many are like that. Is there a
> tool or thing like find that will tell me what files are in dos format
> ie something like: find . -type f -format dos -print
> Thanks
> Eric
This will have pitfalls, but regardless:
find . -type f | grep '.dos' | wc -l
Hope it helps,
Roy
--
Roy S. Schestowitz | "The speed of time is one second per second"
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
8:50am up 13 days 16:01, 14 users, load average: 0.22, 0.49, 0.68
|
|