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''.
|