on looking at the total time that system is up , i have few log files in my directory ..wat i want is depending on thheir timestmap i need to get only those files which has timestamp in the range that my system was up not before that.Can you help me on that even
For eg my present directory has :
-rw------- 1 tulip tulip 5533132 Dec 18 14:02 messages.log
-rw------- 1 tulip tulip 10405810 Dec 17 23:20 messages.log.01
-rw------- 1 tulip tulip 10278293 Dec 18 02:41 messages.log.02
-rw------- 1 tulip tulip 10414553 Dec 18 05:51 messages.log.03
-rw------- 1 tulip tulip 10406874 Dec 18 09:11 messages.log.04
-rw------- 1 tulip tulip 10229094 Dec 18 12:22 messages.log.05
and my uptime says up 17:28
hence i need only files that were created for 17hrs and 28mins ..
can someone helpme on this
this seems to be very tricky to me ..