I have a list of files in following structure:
A/abc.zip
B/abc.zip
C/abc.zip
I want to use copy command to copy them:
$ cp */abc.zip ~/dest/
This seems to replace the file every time, how can I copy these files properly with Linux bash?
Say if I want to rename it to be dest/A-abc.zip
, dest/B-abc.zip
, dest/C-abc.zip
?