blob: ceaec6bd7b41de81f3366411baa429bf0fc53084 (
plain)
1 README
2 ======
3
4 Various implementations of a file segmenter. Note that all of these preserve
5 the original file after segmentation.
6
7
8 file-segment.sh
9 ---------------
10
11 Bash implementation. Takes two arguments: **filename** and **segment count**.
12
13 Usage
14 ~~~~~
15
16 file-segment.sh <filename.txt> <segment_count>
17
18
19 Example
20 ~~~~~~~
21
22 file-segment.sh /var/log/messages 8
23
24 This example will create an **out** directory containing 8 segments of the file
25 /var/log/messages.
|