![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to extract files one by one from a directory and let some processing happen | saniya | Shell Programming and Scripting | 7 | 05-23-2008 03:58 AM |
| Processing on a list of files | puneetla | Shell Programming and Scripting | 3 | 02-12-2008 06:48 AM |
| Preparing LaTeX files using Sed/AWK for processing with latex2html | oski | Shell Programming and Scripting | 3 | 01-15-2008 04:53 AM |
| Two files processing | moutaz1983 | Shell Programming and Scripting | 2 | 01-03-2008 10:32 AM |
| Processing files within a directory one by one | skyineyes | Shell Programming and Scripting | 1 | 07-15-2007 10:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTP and Files processing
I want to do the following thing and I am newbie to Unix:
1) FTP files and save them in a folder 2) Pick the oldest file and also its name among the above FTPed files 3) Copy it to another folder X and also move the file to folder Y I know how to do the first task i.e., FTP the files and store it in a folder and also the 3rd task. But I don't know how to find the oldest file and its name... Please help... Thanks in advance Harish |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
list the files in time order (ls -t) and pick the last file (tail -1) - one way.
|
||||
| Google The UNIX and Linux Forums |