find /home/ -type f -size 123c -exec ls {} \;
move them:
find /home/ -type f -size 123c -exec mv {} <your_destination_directory> \;
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
M – for Megabytes
G – for Gigabytes
You can use -123c for <123c
You can use +123c for >123c
Aucun commentaire:
Enregistrer un commentaire