Due to my lack of experience with script language, (shame for a Mac user) I have referred to several sources:
link seemed resolved with
ls *.extension | xargs -n 1 tail -n +2
This didn't for me, even after adding
> merged.txt at the end,
nor the following:
for f in *.txt do tail -n +2 $f >> /path/to/some/dir/with/files/file_name done
I also tried
sed -e'1d' $FILE in replacement of the tail command. Didn't work.
tail -n +2 file_name.extension,
cat LIN_1994-11_0100.txt | tail -n +2,
awk 'FNR != 1' *.extension has no effect to the file.
If anyone could find the reason for this problem or way out of it..would be majorly grateful. I have transferred this issue from another community here to receive more insight if I could.