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

Re: Trouver le fichier le plus gros



Le 02/09/2010 vers 07:51, dans le message intitulé "Trouver le fichier le plus 
gros", Philippe LAMUR(Philippe LAMUR <phil.lamur@orange.fr>) a écrit:

> Bonjour

Bonjour,

Réponse simple: ls -alrhS | tail -n 1
Réponse complexe:  find . -type f -printf "%s|%p\n" | sort -n | tail -n 1

> Merci pour vos réponses.

De rien,

A+

-- 
http://www.glennie.fr
The reasonable man adapts himself to the world; the unreasonable one persists 
in trying to adapt the world to himself. Therefore all progress depends on the 
unreasonable man.


Reply to: