1: #!/usr/bin/perl
2:
3: # Simple, but wonderfully useful. Find all files on system with name
4: # supplied on command line, and get a "long" listing of them that shows their
5: # time stamp.
6: #
7: # next step, is to write one that sorts them into order of latest file alteration.
8:
9:
10: foreach $_ (`locate $ARGV[0]`){
11: system ("ls -lt $_");}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Find and check timestamps of files.
by turnstep (Parson) on May 17, 2000 at 07:03 UTC | |
by merlyn (Sage) on May 17, 2000 at 20:06 UTC | |
by turnstep (Parson) on May 17, 2000 at 20:17 UTC | |
by Malach (Scribe) on May 19, 2000 at 03:49 UTC | |
by turnstep (Parson) on May 19, 2000 at 16:34 UTC | |
|
RE: Find and check timestamps of files.
by anders (Initiate) on May 26, 2000 at 22:04 UTC |