for f in *.avi; do echo file \'$f\' >> fileList.txt; done; ffmpeg -f concat -safe 0 -i fileList.txt -c copy mergedVideo.avi