In addition to invoking Perl and the /usr/bin/stat (or /bin/stat?) program, which other ways can you think of to find the last modtime of a file?
Here's what does not work: The output of "ls -l" is unreliable, giving only month and day for old files. The output of /usr/bin/stat appears to differ widely. FreeBSD prints a single line like this: [EMAIL PROTECTED] stat / 1039 2 drwxr-xr-x 21 root wheel 1096 512 "Jan 18 21:04:05 2004" "Jan 17 22:55:32 2004" "Jan 17 22:55:32 2004" "Sep 9 02:06:48 2003" 4096 4 0 / GNU/Linux prints lots of lines like this: 20:01:49 austin> stat / File: "/" Size: 4096 Blocks: 8 IO Block: 4096 Directory Device: 801h/2049d Inode: 2 Links: 25 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: Sun Jan 18 20:22:25 2004 Modify: Mon Dec 15 09:49:29 2003 Change: Mon Dec 15 09:49:29 2003 Solaris 2.6 does not appear to have the command. Kai _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel
