The Computer Oracle

How do I use Split in the Mac OS X Terminal to split files directly to another directory?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Bleepage Open

--

Chapters
00:00 How Do I Use Split In The Mac Os X Terminal To Split Files Directly To Another Directory?
00:31 Accepted Answer Score 25
00:46 Thank you

--

Full question
https://superuser.com/questions/313014/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #terminal

#avk47



ACCEPTED ANSWER

Score 25


If Mac OS X's split acts just like the GNU Coreutils split, cd to the directory you wish the split files to reside in and then run the following command:

split -b <size> /location/of/big/file