Can anyone help me with a command for Linux (CentOS):
I have different directories, say:
Each directory has files, different files and extensions.
I want a command wich I can run from 1 directory higher, to check al these subdirs for files with extension .zip for example and add a prefix to these filenames (for example "cyberbomb_filename01.zip"). If the prefix "cyberbomb_" already exists, it should not be added...
Does anyone have a 1-line solution for me ?
Thank you very much !
p.s. I hope this is in the right board, if not, please move me
What are you using? Perl, Bash, etc.?
Also, what do you have so far?