Posted By

endorfin on 05/02/09


Tagged

Bash linux


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

blackthorne


Split Files


 / Published in: Bash
 

  1. ### SPLIT LONG:
  2. split --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_
  3. split --verbose --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_
  4.  
  5. ### SPLIT SHORT:
  6. split -b 5m -a 2 -d image.iso image.iso.part_
  7. split --verbose -b 5m -a 2 -d image.iso image.iso.part_
  8.  
  9.  
  10. ### RESTORE
  11. cat image.iso.part_* > image.iso

Report this snippet  

You need to login to post a comment.