How should I modify this line to add a new line (\n) between each file being concatenated?
find /disk/data/source/* -name '*.xml' -exec cat {} \; > /home/userid/merged-file.xml
find accepts multiple -exec
s in one command. For example:
find /disk/data/source/* -name '*.xml' -exec cat {} \; -exec echo "" \; > /home/userid/merged-file.xml