[ubuntu-it] ricerca file pił grandi
s@mba
samba a autistici.org
Dom 15 Feb 2009 11:42:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincenzo Tibullo wrote:
> sudo find /!(proc|sys|dev) -size +100M -exec stat -c '%s %n' {} \;
> trovi i file pił grandi di 100MB
va bene anche un comando pił corto e semplice per avere la lista dei
file. Giusto per dire anche la mia, dati i seguenti file:
$ ll
totale 441M
- -rw-r--r-- 1 samba samba 10M 2009-02-15 12:36 file-m1
- -rw-r--r-- 1 samba samba 100M 2009-02-15 12:37 file-M1
- -rw-r--r-- 1 samba samba 10M 2009-02-15 12:36 file-m2
- -rw-r--r-- 1 samba samba 100M 2009-02-15 12:37 file-M2
- -rw-r--r-- 1 samba samba 10M 2009-02-15 12:36 file-m3
- -rw-r--r-- 1 samba samba 100M 2009-02-15 12:37 file-M3
- -rw-r--r-- 1 samba samba 10M 2009-02-15 12:36 file-m4
- -rw-r--r-- 1 samba samba 100M 2009-02-15 12:37 file-M4
per trovare file pił grandi di 99MB basta eseguire questo comando:
$ find . -size +99M
./file-M1
./file-M3
./file-M2
./file-M4
> Ciao
ciao ;)
- --
+---------------------------------+
| GPG:0xDDA95E7C _ N°#481469|
| ___ __ _ _ __ ___ | |__ __ _ |
|/ __|/ _` | '_ ` _ \| '_ \ / _` ||
|\__ \ (_| | | | | | | |_) | (_| ||
||___/\__,_|_| |_| |_|_.__/ \__,_||
| http://sambismo.wordpress.com |
+---------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmX/74ACgkQhRVBzt2pXnzijQCeI232bojCFUU8dQaZiu0Y1jum
kaQAn1aHVspzzs/t9OIUU0NFhk6qkQU4
=VEkP
-----END PGP SIGNATURE-----
Maggiori informazioni sulla lista
ubuntu-it