I would like to change the column order in the below csv, on Solaris unix. As is:
cat mytest.csv
NAME,22015731,Fri Sep 01 05:30:21 2017,Fri Sep 01 05:45:26 2017
Desired:
cat mytest.csv
NAME,Fri Sep 01 05:30:21 2017,Fri Sep 01 05:45:26 2017,22015731
How is this possible to be done?
and if possible how can i do it for multiple files in a current dir?
thanks!