{"id":3939,"date":"2021-11-06T11:03:53","date_gmt":"2021-11-06T11:03:53","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=3939"},"modified":"2021-11-06T11:05:23","modified_gmt":"2021-11-06T11:05:23","slug":"delete-duplicate-rows-in-each-csv-and-some-rows","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/delete-duplicate-rows-in-each-csv-and-some-rows\/28908.html","title":{"rendered":"Delete Duplicate Rows In Each CSV And Some Rows"},"content":{"rendered":"<p>I have a folder with 100s of CSV files. What I want is a batch file to process each file by looping 1 by 1 and delete any duplicate rows under it.<\/p>\n<p>Other than The duplicate lines there are some rows which I want to delete based on 2nd columns value.<\/p>\n<p>Name,Test Name<br \/>\nCity,Mumbai<br \/>\nCountry,IN<\/p>\n<p>I want to delete rows where second column of the row matches IN<\/p>\n<p>Is it possible to do so with a windows batch script?<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":7},"question-category":[55],"question_tags":[],"class_list":["post-3939","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/3939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=3939"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=3939"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=3939"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=3939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}