append string to all filenames linux code example Example: append a string in all files name linux rename 's/^/1_/' * where ^ is for starting of the file or end