[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux_var] Scriptino per scovare i file dossici



On Tue, Nov 09, 2010 at 05:07:27PM +0100, Lorenzo Lobba wrote:
> Io cerco qualcosa del genere:
> 
> # scriptino <nome directory>
> file1.txt
> file2.php
> dir1/file6.phf
> ....

find /path/ -type f -exec file {} \; | grep "ASCII.*.CRLF" | awk -F ':' '{print $1}'

-- 

Franco (nextime) Lanza
Busto Arsizio - Italy
SIP://casa@casa.nexlab.it

NO TCPA: http://www.no1984.org
you can download my public key at:
http://danex.nexlab.it/nextime.asc || Key Servers
Key ID = D6132D50
Key fingerprint = 66ED 5211 9D59 DA53 1DF7  4189 DFED F580 D613 2D50
-----------------------------------
echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D212153574F444E49572045535520454D20454B414D204F54204847554F4E452059415020544F4E4E4143205345544147204C4C4942snlbxq | dc
-----------------------------------

Attachment: signature.asc
Description: PGP signature