View Single Post
  #2   (View Single Post)  
Old 25th April 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

If you use an ftp client that can be scripted well enough and outputs the necessary date information, just filter the ftp clients directory listing through a program that can sort it appropriately, then filter that scripts output to tail -n 4.

both a shell alias or standalone script could wrap that for faster usage.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote