Mar 15, 2007 #1 snowsmart IS-IT--Management May 24, 2005 37 CA is there a way to find the last modified/created file in a folder ? thanks
Mar 15, 2007 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB ls -ltr will list all files in a directory, with the latest at the bottom. ls -ltr | tail -1 will ist the last one only. I want to be good, is that not enough? Upvote 0 Downvote
ls -ltr will list all files in a directory, with the latest at the bottom. ls -ltr | tail -1 will ist the last one only. I want to be good, is that not enough?