How to rename all the files in the directory in such a way the files get added "_1" before ".txt"
apac_02_aug_2017_file.txt
emea_02_May_2017_file.txt
ger__02_Jun_2017_file.txt
Run Code Online (Sandbox Code Playgroud)
To
apac_02_aug_2017_file_1.txt
emea_02_May_2017_file_1.txt
ger__02_Jun_2017_file_1.txt
Run Code Online (Sandbox Code Playgroud) bash ×1