How do I split a 7GB (movie) file into smaller files of (say) 1GB, and then (in another Ubuntu computer) integrate them to get the original file (using just bash commands)?
Asked
Active
Viewed 4.5k times
2 Answers
25
To split the file into 1024MBs, using a terminal:
split --bytes=1024m original_filename /destination/path/prefix
To get the original file:
cat /source/path/prefix* > original_filename

edwinksl
- 23,789

João Pinto
- 17,159