The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-04-2008
callimaco0082 callimaco0082 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 8
Find last updated file

Hi all,

my problem is teh following:

I need to move a file from a folder to another and I usually do it by the get command but in this case I have a list of file in the source folder and I have to select only the lust updated one.
Ho to do this?

All the files have the same name followed by a timestamp; something like:
aaaaaaaa_20080902.TXT
aaaaaaaa_20080903.TXT
aaaaaaaa_20080904.TXT.

I need to move only the last one.

Thanks to all will help.