[Ilugc] One Day One Command
antonypaul24 at gmail.com
Thu Feb 3 14:45:05 IST 2005
No option to split a file into given no. of files. Now one have to
calculate the size and type appropriate commands
On Thu, 3 Feb 2005 14:23:01 +0530 (IST), Bharathi Subramanian
<sbharathi at midascomm.com> wrote:
> One Day One Command :-
> 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
> Bye :)
> Bharathi S
> To unsubscribe, email ilugc-request at ae.iitm.ac.in with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
More information about the ilugc