Using shell script read the files in the folder and then insert the data into a specific table
Hi All,Can you please help me on how to read number of files in a specific directory and then based on this information insert the information to a specific table.
For example : If there is a folder called images which is having three images
pic1.jpg
pic2.jpg,
pic3.jpg
Now when i run the concurrent program of host type ,my intention is that the program will read the file names from the images directory on the application server and then insert the names of the files into a specific table.
If a table xx_images has sno , imagename,dateofcreation
Tagged:
0