How, in Bash, would you get the alphabetically last subdirectory in a directory.
This is for an incremental rsync backup system. I want to name the directories by (ISO8601) date rather than using (fixed) numbered backups, but whether I use cp -al or use the --link-dest options, I need to know the directory of the last backup (I think).