Dateien auflisten > 512KiB

Hi

Wie lasse ich mir von einem Unterverzeichnis alle Dateien auflisten welche größer als 512KiB sind?

Ich dachte mir das so:
ls /unterverzeichnis | find -type f -size 512K

Scheint aber nicht zu funkionieren.

Bitte um kurze Hilfe, danke.

LG
 
Code:
find /pfad/ -type f -size +512K

Gruß, xeno
 
Code:
-size n[cwbkMG]
              File uses n units of space.  The following suffixes can be used:

              `b'    for 512-byte blocks (this is the default if no suffix is used)

              `c'    for bytes

              `w'    for two-byte words

              `k'    for Kilobytes (units of 1024 bytes)

              `M'    for Megabytes (units of 1048576 bytes)

              `G'    for Gigabytes (units of 1073741824 bytes)

Sorry, "k" natürlich :)
 
Zurück
Oben