I have a lot of simple txt files. Each of them has only one string, e.g.
data_1
data_2
data_3
data_4
Each of files have unique name, e.g.
Name_01_apr_29
Name_02_apr_29
Name_03_apr_29
How to combine file content and file name?
I need:
data_1;Name_01_apr_29
data_2;Name_02_apr_29
data_3;Name_03_apr_29
etc.
I need to do that in some of linux command or in bash (some script.sh) because I need to start this request periodically in cron.
I'm working on debin 8.