openmolecules.org

 
Home » DataWarrior » Functionality » Batch convert .csv to .DWAR
Re: Batch convert .csv to .DWAR [message #680 is a reply to message #674] Mon, 21 October 2019 21:32 Go to previous messageGo to previous message
thomas is currently offline  thomas
Messages: 661
Registered: June 2014
Senior Member
If you are on Linux or Mac, you may copy the following line into a new text file, save it as "myscript"
into your folder, make it executable with "chmod 755 myscript" and run it with "./myscript":

for FILE in *.dwar ; do (cat "$FILE" >> new_"$FILE"; cat template.dwat >> new_"$FILE"); done

If you have a new Windows 10 with bash support, I would assume that this should then also work.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Change 2D Axes Range
Next Topic: Structure No Column
Goto Forum:
  


Current Time: Tue May 14 18:08:57 CEST 2024

Total time taken to generate the page: 0.04517 seconds