Due to my lack of experience with script language, 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.
I am uncertain if this has anything to do with the current issue.
If anyone could find the reason for this problem or way out of it..would be majorly grateful. Thanks for all the input so far as well.