Question 4:
I runned Zingg successfully on my local and got 4 csv file for the results. Wondering is there a setting I can turn on so that it only export the duplicated results in csv file.
#!/bin/bash
# Define output file
output_file="combined_output.csv"
# Get the first file header
header=$(head -n 1 tmp/part-00000*.csv)
# Write header to the output file
echo "$header" > $output_file
# Append all files to the output without the header
for file in tmp/part-*.csv; do
tail -n +2 "$file" >> $output_file
done
echo "Combined CSV created: $output_file"