I would like to add prefix on all files in a folder and in all files in all of folder children.
Exemple :
hello\file1 hello2\file2 file3 file4
the result should be after adding the prefix PRE_
hello\PRE_file1 hello2\PRE_file2 PRE_file3 PRE_file4
i tried to do this :
find . -type f -exec rename 's/^/PRE_/' '{}' \;
but it modify all the name. Thank you