Convert a *.dat file to a *.csv file
Solved
Matii_75
Posted messages
22
Status
Member
-
Papy nice -
Papy nice -
Hello,
I am looking for how to convert a *.dat file to a *.csv file for import into a MySQL database.
Thank you
I am looking for how to convert a *.dat file to a *.csv file for import into a MySQL database.
Thank you
Configuration: Linux Konqueror 3.5
3 answers
-
It is enough to replace each tab with a semicolon :
sed 's/\t/;/g' source_file.dat > output_file.csv
;-))
--
JP - Penguin breeder -
Do something for the environment, close your windows and adopt a penguin. -
Hi,
What does your .dat file look like?
--
JP - Penguin breeder -
Do your part for the environment, close your windows and adopt a penguin. -
Hello,
I just migrated from a PC running Windows XP to a PC running Windows Vista.
On XP, I had a provided address book that worked with Palm and was in *.dat format.
It has been transferred to Vista, but I want to move away from Palm and import my *.dat into "Windows Contacts".
However, the latter is asking me to first convert *.dat to *.csv.
I’m willing to do it, but how do I go about it?
If anyone can help, that would be nice. Thanks in advance
Papy Nice