]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/UserManuals/SplitFile_Utility_Man_Page.rtf
Sync EDKII BaseTools to BaseTools project r1971
[mirror_edk2.git] / BaseTools / UserManuals / SplitFile_Utility_Man_Page.rtf
CommitLineData
40d841f6
LG
1{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}\r
2{\colortbl ;\red8\green96\blue168;\red0\green0\blue0;}\r
3{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}}\r
4{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\f0\fs28 Name\par\r
5\pard\nowidctlpar\sb200\cf2\b0\fs18 Split.exe\par\r
6\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 Description\par\r
7\pard\nowidctlpar\sb200\cf2\b0\fs18 Any file that could be accessed by Split tool, the input file will not be changed by split. Two Binary files will be created in either the same directory as the current working directory, or, if the either of the output files contain a path, then in the URI is used, based off of output directory, if specified by \ldblquote -p\rdblquote , \ldblquote --prefix\rdblquote option.\par\r
8If the either or both of the \endash o or \endash t options is not specified, then the non-specified split filenames will use the filename of the input file, with another suffix, of filename.ext.1 and/or filename.ext.2. \par\r
9When reading the input filename, if the end of file is reached before the number of bytes has been reached, i.e., the Offset is larger than the number of bytes in the input file, then the first file will be an exact copy of the input file, while the second file will be created, but it will have zero length.\par\r
10\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 Options\par\r
11\pard\nowidctlpar\sb200\cf2\b0\fs18 -f, --filename Filename\tab\tab\tab\par\r
12\pard\nowidctlpar\fi426\sb200 Input file specified by Filename\par\r
13\pard\nowidctlpar\sb200 -s, --split VALUE\tab\tab\tab\tab\par\r
14\pard\nowidctlpar\fi425\sb200 The number of bytes in the first file. \par\r
15The Split Occurs at the AFTER VALUE BYTES from the start of the file.\par\r
16Value can be integer, hex adderss, or integer-letter, such as 1K, where:\par\r
17K=1024Bytes, M=1024K, G=1024M\par\r
18\pard\nowidctlpar\sb200 [-p, --prefix OutputDir]\tab\tab\tab\tab\tab\par\r
19\pard\nowidctlpar\fi360\sb200 Output directory\par\r
20\pard\nowidctlpar\sb200 [-o, --firstfile Filename1]\par\r
21\tab First of the Split Files.\par\r
22[-t, --secondfile Filename2]\par\r
23\tab Second of the Split Files.\par\r
24[--version]\par\r
25\tab Print version and copyright of this program and exit\par\r
26[-v, --verbose]\par\r
27\pard\nowidctlpar\li360\sb200 Turn on verbose output with informational messages printed. This is a count value, so specifying \endash vv can be used to increase the verbosity level.\par\r
28\pard\nowidctlpar\sb200 [-q, --quiet]\par\r
29\tab disable all messages except FATAL ERRORS\par\r
30[-d, --debug [#]]\par\r
31\tab Enable debug messages, at level #\par\r
32[-h, --help]\par\r
33\tab Print copyright, version and usage of this program and exit\par\r
34\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 Example\par\r
35\pard\nowidctlpar\li60\sb200\cf2\b0\fs18 1. c:\\Tools\\Split.exe -f tool_setup.bat\par\r
36tool_setup.bat file will be splitted into two files tool_setup.bat1 and tool_setup.bat2. As no \ldblquote -s\rdblquote specified, tool_setup.bat1 will have size of the input file while tool_setup.bat2 will have size zero.\par\r
372. c:\\Tools\\Split.exe -f tool_setup.bat -o tool_setup1 -t tool_setup2\par\r
38tool_setup.bat file will be splitted into two files tool_setup1 and tool_setup2. As no \ldblquote -s\rdblquote specified, tool_setup1 will have size of the input file while tool_setup2 will have size zero.\par\r
393. c:\\Tools\\Split.exe -f tool_setup.bat -s 5k -o tool_setup1 -t tool_setup2\par\r
40tool_setup.bat file will be splitted into two files tool_setup1 and tool_setup2. Now \ldblquote -s 5k\rdblquote specified and tool_setup.bat is not as large as 5k, so tool_setup1 will have size of the input file while tool_setup2 will have size zero.\par\r
414. c:\\Tools\\Split.exe -f tool_setup.bat -s 4k -p c:\\ -o Test/tool_setup1 -t Test1/tool_setup2\par\r
42\pard\nowidctlpar\sb200 tool_setup.bat file will be splitted into two files tool_setup1 and tool_setup2. Now \ldblquote -s 4k\rdblquote specified and tool_setup.bat is 4.9k, so tool_setup1 will have size of 4k and tool_setup2 will have size 0.5k. The output files are both preceded with a directory and \ldblquote -p c:\\\rdblquote is specified, so the \ldblquote Test\rdblquote and \ldblquote Test1\rdblquote directories will be created under c:\\ to contain tool_setup1 and tool_setup2 seperately.\par\r
43\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 Bugs\par\r
44\pard\nowidctlpar\sb200\cf2\b0\fs18 Not found yet.\par\r
45\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 Files \par\r
46\pard\nowidctlpar\sb200\cf2\b0\fs18 None.\par\r
47\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 See also\par\r
48\pard\nowidctlpar\sb200\cf2\b0\fs18 None.\par\r
49\pard\keep\keepn\nowidctlpar\s2\li-1440\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\fs28 License\par\r
50\pard\nowidctlpar\sb200\cf2\b0\fs18 Copyright (c) 1999 - 2009, Intel Corporation. All rights reserved.\par\r
51This program and the accompanying materials are licensed and made available \par\r
52under the terms and conditions of the BSD License which accompanies this \par\r
53distribution. The full text of the license may be found at\par\r
54http://opensource.org/licenses/bsd-license.php\par\r
55\par\r
56THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\par\r
57\pard\nowidctlpar\li60\sb200\f1\par\r
58}\r
59\0