How to transfer files over 4GB from Mac to Windows via USB media

Background to writing this article

There is a problem with trying to pass large files from Mac to Windows via USB media.

That is, the format that each other can read and write is FAT32, and FAT32 does not support sizes larger than 4GB, so you have to split the file into 4GB or less in some way.

It is a memo about the method I did.

Commands and usage

Command to split

The command to split is "split".

In the following command, “big file.zip” is split by setting “Capacity to split” to “3000m (≒ 3GB)” with the “-b” option.

The resulting file will be split as ".aa", ".ab", ".ac" ... extension.

 $ split -b 3000m bigfile.zip bigfiledat. 

Command to join

The command to be combined is "cat" (Mac) or "copy" (Windows).

The following command combines the files split by the above split command into "bigfile.zip".

If cat, specify as follows:

 $ cat bigfiledat.* > bigfile.zip 

If it is copy, specify as follows.

 $ copy /b bigfiledat.* bigfile.zip 

Both will automatically recognize the extension of ".aa", ".ab", ".ac" ... and combine them.

Summary

If you can use the command, it is an example that you do not have to use software.

It's not recommended for anyone, but isn't it okay if you don't have access to the internet when you know it?

e? I didn't back up my website! ?

He / she will recover even in case of emergency
"WordPress external backup service"

■ Three features
・ You don't have to do it yourself
・ With recovery in case of emergency
・ Backup to external server

コメントを残す