Find Jobs
Hire Freelancers

Compare two CSV files and copy field on match

$30-100 USD

Ukończony
Opublikowano około 15 lat temu

$30-100 USD

Płatne przy odbiorze
I had such a great experience the first time, thought I would try it again. I would like to have a script (PHP or Perl running from Linux Command Line) that will compare two different fields in two different CSV files, and if it finds a match, it will copy a field from the first CSV file and put it in the second CSV file. So if I have a column (selected via script variable or command line option) with ManufacturerID's, the first row has a ABC123 as a manufacturer ID in that field, it will search through a column in the second CSV file (again selected via script variable or command line option) and if it finds a match (cannot be case sensitive, if it finds abc123, it should still match it), it will then copy data from the same row in a second column from the first CSV file to a a column in the second CSV in the matching row(both again selectable as mentioned above). CSV 1: "abc123","Title","Description","0123456789" "abc456","Title","Description","1234567890" "123efg","Title","Description","4982757482" CSV 2: "Title","ABC123","Description","" "Title","abc456",""Description","" "Title","abc789","Description","" First run for example, take abc123 (from column 1) in CSV 1 and search in CSV 2 for it in (in column 2) for it. Since it sees ABC123, it will then take 0123456789 from Column 4 in CSV 1 and put it in Column 4 in CSV 2. Same for abc456 since there is a match. It won't do anything with 123efg as it isn't found in CSV 2. So CSV 2 after it processes should look like this: CSV 2: "Title","ABC123","Description","0123456789" "Title","abc456",""Description","1234567890" "Title","abc789","Description","" As mentioned above, I have different CSV files that put this data in different fields, so I will need to be able to change columns either via command line or variable within the script (at the top) and also the CSV file names. The program can either be in Perl or PHP and has to run from Linux Command Line.
Identyfikator projektu: 3812673

Informację o projekcie

39 ofert
Zdalny projekt
Aktywny 15 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
See private message.
$21,25 USD w 5 dni
5,0 (10 opinii)
3,6
3,6
39 freelancerzy składają oferty o średniej wysokości $49 USD dla tej pracy
Awatar Użytkownika
See private message.
$38,25 USD w 5 dni
5,0 (172 opinii)
9,4
9,4
Awatar Użytkownika
See private message.
$76,50 USD w 5 dni
4,9 (966 opinii)
9,0
9,0
Awatar Użytkownika
See private message.
$51 USD w 5 dni
4,9 (391 opinii)
7,3
7,3
Awatar Użytkownika
See private message.
$25,50 USD w 5 dni
4,9 (186 opinii)
7,0
7,0
Awatar Użytkownika
See private message.
$85 USD w 5 dni
5,0 (106 opinii)
6,5
6,5
Awatar Użytkownika
See private message.
$29,75 USD w 5 dni
4,9 (517 opinii)
6,4
6,4
Awatar Użytkownika
See private message.
$33,15 USD w 5 dni
4,9 (46 opinii)
5,9
5,9
Awatar Użytkownika
See private message.
$51 USD w 5 dni
5,0 (46 opinii)
4,6
4,6
Awatar Użytkownika
See private message.
$76,50 USD w 5 dni
5,0 (8 opinii)
4,8
4,8
Awatar Użytkownika
See private message.
$7,65 USD w 5 dni
4,9 (69 opinii)
4,6
4,6
Awatar Użytkownika
See private message.
$42,50 USD w 5 dni
4,9 (54 opinii)
4,7
4,7
Awatar Użytkownika
See private message.
$85 USD w 5 dni
4,4 (66 opinii)
5,2
5,2
Awatar Użytkownika
See private message.
$42,50 USD w 5 dni
4,9 (47 opinii)
4,6
4,6
Awatar Użytkownika
See private message.
$42,50 USD w 5 dni
5,0 (13 opinii)
4,6
4,6
Awatar Użytkownika
See private message.
$67,15 USD w 5 dni
4,6 (14 opinii)
4,8
4,8
Awatar Użytkownika
See private message.
$34 USD w 5 dni
5,0 (21 opinii)
4,4
4,4
Awatar Użytkownika
See private message.
$42,50 USD w 5 dni
5,0 (25 opinii)
4,5
4,5
Awatar Użytkownika
See private message.
$85 USD w 5 dni
4,8 (20 opinii)
4,4
4,4
Awatar Użytkownika
See private message.
$34 USD w 5 dni
5,0 (3 opinii)
4,0
4,0
Awatar Użytkownika
See private message.
$21,25 USD w 5 dni
4,8 (14 opinii)
3,9
3,9

O kliencie

Flaga UNITED STATES
De Forest, United States
4,4
5
Członek od kwi 11, 2009

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.