find <chemin> <options>
-type f
f = fichiers d = dossiers l = liens
-name ".htaccess"
-size +4G
-perm xyz
-perm -u+rw,g+r,o+r
Création :
-ctime +x
Modification :
-mtime -x
Accès :
-atime -x
find ./ -type f -printf ./result.txt "%p\ %s\\n"
%p : nom de fichier, %s : taille du fichier, Liste complète : http://linux.about.com/od/commands/l/blcmdl1_find.htm
find -type f -name "*.log" | xargs ls -l
find -type f -name "*.log" -exec ls -l {} \;