ODOC: split

Monday, December 05, 2005

split - Split a file into pieces.

Summary :

Split is used to split a file into equal no .of lines. The output files are created with the default Prefix as 'x' and suffix as 2 digit number.

Examples :
$ split -l 10 myfile -- Split myfile into files of 10 lines.

$ split -b 100 myfile -- Split myfile into files of 100bytes.

$ split -C 25 myfile -- Put at most 25bytes of lines per file.

$ split -a 4 myfile -- Use suffixe of length 4 chars.

$ split -l 10 myfile myfile -- Use myfile as the prefix text.
Read : man split

comments links to this post Listen to this article Listen to this article

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Previous Posts


referer referrer referers referrers http_referer

  • Subscribe to Free Software Blog
  • Google
Reader
  • Subscribe in Yahoo
  • Subscribe
in Bloglines
  • Link to Podcast

(RSS feed) for this blog
    Computers Blog Top Sites
  • Computers Blogs by Indian Bloggers
  • BLogstreet Profile

Sponsors