On the command line I'd assume something along the lines of head -1 ff* | tr �-� �/� to get the dates but not sure how I can then take this forward inside a script after that.
Fine for a first approach. Any thoughts on how to continue with your further steps? Not necessarily in commands / script; plain English will suffice...