Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
file modified time in seconds
Name: alexandria Date: July 3, 2002 at 07:01:54 Pacific
Comment:
Hi, Is there a way to find the last modified time of a file using a unix command.I will need to execute a remote execution so do not think I will be able to use the perl code posted. -Thanks in advance
Summary: Hi All: I am a newbie for ksh scripting.My code doesn't work. Can someone help? I am trying to automate the process of file read from a directory. The files older than 3 days are supposed to be archiv...
Summary: the best thing to do is use perl's stat function #!/usr/bin/perl -w @file_info = stat("../../rel/path/to/file"); $time = time; #calculate the difference in seconds $diff_sec = ($time - $file_info[9]);...
Summary: Brian, I don't know if you are looking for unix scripting help, or help with accessing atomic time, or both. I cannot help with access to atomic time, but following is a script that will wake occasio...