[Ilugc] finding file size and its date
- From: b.ghose@xxxxxxx (Baishampayan Ghose)
- Date: Tue Oct 31 14:44:24 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 31 October 2006 02:02 PM, Ashok Antony cobbled together some
glyphs to say:
I would like to find all the files which has the size above 10MG and its time
of creation.
how to acheive the above task in a single command ?
I am assuming MG is Megabyte ...
$ find . -size +10M -printf "%p (%a)\n"
That will do. You can replace the . (dot) after `find' with a path like
/usr or something. The . (dot) will search in the current directory only.
Hope that helps ...
Regards,
BG
- --
Baishampayan Ghose <b.ghose@xxxxxxx>
The GNU Project
http://www.gnu.org/
1024D/86361B74
BB2C E244 15AD 05C5 523A 90E7 4249 3494 8636 1B74
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFRxPvQkk0lIY2G3QRAug/AJ9dB7IHPew9UlFz0e2FwnooAqGQcACgsjzV
WqoKQ4jm7hSSHr0igVyXnrQ=
=vIj3
-----END PGP SIGNATURE-----
Other related posts: