F5F Stay Refreshed Software Operating Systems Need Help Converting Text to XML

Need Help Converting Text to XML

Need Help Converting Text to XML

D
Darkeos
Senior Member
538
03-13-2023, 06:53 AM
#1
At work, we discovered a significant update coming for our database management software. The way we import raw data will shift soon—only .xml files will be accepted instead of text or CSV. This means we’ll have to transform years of data into XML format. Are there any command-line tools on Linux that can handle this conversion?
D
Darkeos
03-13-2023, 06:53 AM #1

At work, we discovered a significant update coming for our database management software. The way we import raw data will shift soon—only .xml files will be accepted instead of text or CSV. This means we’ll have to transform years of data into XML format. Are there any command-line tools on Linux that can handle this conversion?

_
__lerflip__
Junior Member
4
03-13-2023, 12:25 PM
#2
Based on the standard file layout you mentioned, you can craft a bash script to process the texts. It will scan directories recursively, execute the required tool or command, and store the results appropriately. Your current script is outdated, but it should guide you in Windows environments.
_
__lerflip__
03-13-2023, 12:25 PM #2

Based on the standard file layout you mentioned, you can craft a bash script to process the texts. It will scan directories recursively, execute the required tool or command, and store the results appropriately. Your current script is outdated, but it should guide you in Windows environments.