February 2010 Archives

Tue Feb 23 11:18:30 EST 2010

Find MS-DOS Formatted Files.

I recently came across a problem where I had a bunch of perl scripts that were modified under MS Windows and had the MS-DOS format. I found a bunch of errors on the crond logs since these scripts were being called by a crontab. Long story short I had to find all these scripts so I used this recursive grep inside the directory where this files were uploaded.


The output of this command will generate a list of files that are formatted as DOS files. ('DiggThis’)


Spanish version: Encontrar archivos con formato MS-DOS.