I have directory structure
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/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
ret etc) with single command :).
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?