-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Bish" == usmbish  <[EMAIL PROTECTED]> writes:

    Bish> On Sat, Jan 24, 2004 at 04:54:22PM +0530, N S Srikanth
    Bish> wrote:

    Bish> [snipped]
    >> But if you want a listing only of the files made today, then I
    >> do not know

    Bish> There would definitely be other ways, but this little script
    Bish> does the job fine for files created today sorted in recent
    Bish> first order:

    Bish> #!/bin/sh TODAY=$(date '+%Y-%m-%d') ls --full-time -t | grep
    Bish> $TODAY | awk '{print $6"\t"$7"\t"$5"\t "$9}'

...or maybe just,

  find . -mtime -1

- From man find:

   TESTS
       Numeric arguments can be specified as

       +n     for greater than n,

       -n     for less than n,

       n      for exactly n.

- -- Raju
- -- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQFAFyr6yWjQ78xo0X8RAkw5AJ4zy3hWF7cz0mvCqoBeOAzBGPcdewCdEuZ5
M/IgYn5e9l9p3Jkfz2I+YwI=
=ydV+
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to