| 1802 |
* extracting archives:: |
* extracting archives:: |
| 1803 |
* extracting files:: |
* extracting files:: |
| 1804 |
* extract dir:: |
* extract dir:: |
| 1805 |
|
* extracting untrusted archives:: |
| 1806 |
* failing commands:: |
* failing commands:: |
| 1807 |
@end menu |
@end menu |
| 1808 |
|
|
| 1923 |
@FIXME{IMPORTANT! show the final structure, here. figure out what it |
@FIXME{IMPORTANT! show the final structure, here. figure out what it |
| 1924 |
will be.} |
will be.} |
| 1925 |
|
|
| 1926 |
|
@node extracting untrusted archives |
| 1927 |
|
@subsection Extracting Archives from Untrusted Sources |
| 1928 |
|
|
| 1929 |
|
Extracting files from archives can overwrite files that already exist. |
| 1930 |
|
If you receive an archive from an untrusted source, you should make a |
| 1931 |
|
new directory and extract into that directory, so that you don't have |
| 1932 |
|
to worry about the extraction overwriting one of your existing files. |
| 1933 |
|
For example, if @file{untrusted.tar} came from somewhere else on the |
| 1934 |
|
Internet, and you don't necessarily trust its contents, you can |
| 1935 |
|
extract it as follows: |
| 1936 |
|
|
| 1937 |
|
@example |
| 1938 |
|
$ @kbd{mkdir newdir} |
| 1939 |
|
$ @kbd{cd newdir} |
| 1940 |
|
$ @kbd{tar -xvf ../untrusted.tar} |
| 1941 |
|
@end example |
| 1942 |
|
|
| 1943 |
@node failing commands |
@node failing commands |
| 1944 |
@subsection Commands That Will Fail |
@subsection Commands That Will Fail |
| 1945 |
|
|