I name output folders for the date that I run a program on. So, I have the following folders in my directory:
2011.05.18
2011.06.30
2011.07.07
2011.07.27
2011.08.03
How can I automatically identify the most recent one from the command line (e.g. so that I can make a symbolic link to files in it)?
If you have other files/directories besides the
yyyy.mm.dddirectories, then this would be better: