cp: error writing '/location-to-file/file.zip': File too large
7,916
FAT 32 has a 4GB maximum file size and 8TB maximum partition size, whereas you can store files that are larger than 4GB each on a flash drive or SD card formatted with exFAT. exFAT's maximum file size limit is 16EiB (Exbibyte).
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
Log:
~$ cp -r folder /media/usr/media-name/ cp: error writing '/location-to-file/file.zip': File too large
Question: How to copy large files/folders to media in Linux?
Excess Details
500 GB Sandisk Drive (recently formatted to FAT using GNOME Disks)
Folder of under 20 GB
-
Admin over 4 yearsFAT 32 has a 4GB maximum file size. The '32' is a bit-size built into the FAT structures, and 2^^32 is 4GB. So your .zip file can't be written to it. Linux is best with ext4 or ext3 file systems, exFAT and NTFS are possible, but FAT is a bad choice.
-
Admin over 4 years
-
-
gignu over 2 years16 EiB (Exbibyte) is enormous! Just in case anybody is wondering if it would be enough, hahah