A files last modified time is like 03/02/2012 xx:xx:xx
So what would be the command to convert the last modified in the given signature
Thanks for giving time and replying..:)
on 04/09/2012 – Made popular on 04/09/2012
Is it possible to mount a mechanism to a file to perform an action (e.g. mark the change in some log file and such) each time the file is modified? I would like to be able to see what all the files modified are in a given time period or receive an alert each time someone modifies a file.
I am currently reading UNIX by Bach. In which I encountered a problem while reading inode section from 4th chapter where file modified time is shown as 1 :45pm and inode modified time is shown as 1:30pm.
How this is possible? Because when a file is modified, its inode is also modified so inode modification time should be the most recent time.
I have a linux server which captures network pcap files and save it to a CIFS shared drive.
I have found out that the creation time and modified time of the pcap files seems to be the same. Which shouldn't be, as each file has 10 seconds of data so the creation time should be 10 seconds older than the modified time. If I'm correctly understanding the time attributes.
I would like to, from time to time, enable server-wide file monitoring that will show me all files being modified, updated and created while I have it running and thus simply spewing forth a list of files modified until I hit control-c.
This is specifically for a Linux server (CentOS 6.5).
For some reason, some of my files have a last modified date in the future. In addition to this, file operations in PHP are SUPER slow. For example, rebuilding the Symfony2 cache can take over 40 seconds (its takes 1-2 on my MacBook Pro).
Notice the time for ListingsCRUDController.php. It just says "2012".