Just use the split command:

split --bytes=1G large_file_name short_dir/short_file_prefix_

This will create a lot of files with 1 G in short_dir. The files will named short_file_prefix_aa, short_file_prefix_ab, short_file_prefix_ac …

Found in Techie Corner.

Facebooktwitterredditpinterestlinkedinmail