4

I have 7 files (approximately 4.7 GB each one) and I want to merge them into a single file.

I tried:

$ cat file1 file2 file3 ... > NewFile.txt

and I got this:

cat: stdout: File too large
Timur Shtatland
  • 12,024
  • 2
  • 30
  • 47
  • Please see [here](https://stackoverflow.com/help/someone-answers) what to do when you have resolved your issue with the help of the answer(s) – thanasisp Oct 06 '20 at 20:28

1 Answers1

3

"File too large" is a common error when trying to work with files greater than 4GB on a Fat32 filesystem.

If you're trying to combine the files on a Fat32 filesystem, you're going to have to need to combine them on a different drive formatted to exFat or NTFS (or for linux ex2/3/4).

sm00nie
  • 62
  • 1
  • 6