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