Y
Y
YaVladislavru2019-09-05 12:10:19
1C-Bitrix
YaVladislavru, 2019-09-05 12:10:19

How to change CSV structure automatically?

Hello!
There is a .csv file with the Bitrix data structure, we need to put it under the structure of our .csv. It takes a long time to do it manually each time, I want to automate the process.
Can you tell me if there are any ready-made solutions that allow you to do this? Set certain settings once, and in the future, all this was done automatically.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
akelsey, 2019-09-05
@akelsey

Powershell:

Import-Csv mysource.csv | select field1,field2,field3 | Export-Csv mydest.csv -Encoding utf8

R
ring0king, 2019-09-05
@ring0king

The answer to add (or order) the converter module is unlikely to suit you, so please announce this "structure of our .csv." So that we can help you.

Y
Yaroslav Alexandrov, 2019-09-05
@alexyarik

You need to look for ready-made solutions not on the toaster, but on the marketplace or on the gihab
marketplace.1c-bitrix.ru/search/index.php?q=csv&sp...
PHPExcel and creating your own module or component

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question