![]() |
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To get the latest file | spkandy | Shell Programming and Scripting | 2 | 04-08-2009 01:37 AM |
| get latest file | inquirer | Shell Programming and Scripting | 4 | 04-02-2009 12:15 PM |
| How do I get the name of latest file? | Hangman2 | Shell Programming and Scripting | 5 | 01-03-2009 10:18 AM |
| Getting latest file from ftp | arunavlp | UNIX for Dummies Questions & Answers | 3 | 02-08-2008 10:19 AM |
| Help with multiple file rename - change case of part of file name | steve7 | UNIX for Dummies Questions & Answers | 7 | 06-30-2005 02:41 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Rename The Latest File
i need to get the latest file based on timestamp. assuming that i have the following files:
Code:
$ ls -latr total 40 drwxr-sr-x 6 pcrdftdv pcrdgrp 512 Jun 30 12:53 .. -rwxrwxrwx 1 pcrdftdv pcrdgrp 6 Jul 07 13:35 sample1.csv -rwxr-xr-x 1 pcrdftdv pcrdgrp 6 Jul 07 14:14 sample2.scv -rwxr-xr-x 1 pcrdftdv pcrdgrp 6 Jul 07 14:15 sample3.csv drwxr-sr-x 2 pcrdftdv pcrdgrp 512 Jul 07 14:15 . $ |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|