Briefing Cloudera Knowledge

Which command is guaranteed to produce the desired output if you have more than 20,000 files to proc

You have a directory containing a number of comma-separated files. Each file has three columns
and each filename has a .csv extension. You want to have a single tab-separated file (all .tsv) that
contains all the rows from all the files.
Which command is guaranteed to produce the desired output if you have more than 20,000 files to
process?

A.
Find . – name ‘*, CSV’ – print0 | sargs -0 cat | tr ‘,’ ‘\t’ > all.tsv

B.
Find . –name ‘name * .CSV’ | cat | awk ‘BEGIN {FS = “,” OFS = “\t”} {print $1, $2, $3}’ > all.tsv

C.
Find . – name ‘*.CSV’ | tr ‘,’ ‘\t’ | cat > all.tsv

D.
Find . –name ‘*.CSV’ | cat > all.tsv

E.
Cat *.CSV > all.tsv