I was given hundreds of files in .out format. I appreciate if you can help me find a way to combine them all in one file. I have no Linux knowledge and will prefer to work it out with Python
Asked
Active
Viewed 264 times
-3
-
What do you mean by `.out` format? Are they generic text files? Binary files? What are they? Way more detail needed. – Robin Green Nov 17 '18 at 07:57
-
Thanks you Robin for the feedback. It is a text file stored through Linux. The text contains some special characters but they are not important. The origin of the text comes from tweets gathered by a java script. – Milad Nov 19 '18 at 02:00
-
OK, so what kind of combining do you want to do? Simple concatenation? Summarisation? – Robin Green Nov 19 '18 at 07:34
-
I apologize for not being specific in my question (I edited my question). I need to combine all the files to only one file so that I can convert it to a database file and bring it to the ArcMap software and do the analysis which brings up another task: converting .out to a .dbf. – Milad Nov 19 '18 at 17:51
1 Answers
2
If you simply want to concatenate the files you can use Windows type
command which behaves like Linux cat
:
type *.out > result.dbf

Karol Dowbecki
- 43,645
- 9
- 78
- 111
-
Thank you very much Karol. It worked. I actually tried csv as well and it worked too. – Milad Nov 20 '18 at 01:59
-