I have directory structure adc/asd/abc.20150918_150635.gz, adc/asd/abc.20150921_140748.gz .... (where .gz file names contain time stamps of its creation). Many other directories similar to asd are present here, eg. adc/gmf/abc.20150918_010738.gz, adc/ret/abc.20150921_140748.gz, all of them containing files with time stamps.
I want to copy latest modied file from all the directories (ie from asd,gmf,ret etc) with single command :).
I tried cp "adc/*/abc.* ." but it will copy all of the files. I want to copy only the latest modified file (with single command). Can any one help me?