I have a directory in the terminal folder. I am using MobaXterm. This directory has a large number of files in it. File names are long and have some illegal characters. An example filename is "The three Co-Chairs (Indonesia, Liberia, United Kingdom) of the Secretary-General’s High-level Panel on the Post-2015 Development Agenda - Media Stakeout-1861343067001.m4a". I write the filenames on a csv file using the following command line and it was working so far.
dir$ find . -type f > names.csv
But this time, instead of one column, the filename is divided into several columns.
I want the whole name only in column A. I want to write the original file names including the commas. The same command was able to write the filenames with the commas for my previous datasets, only difference those filenames were shorter than this one.
How can fix it?