Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
doc:systeme:info [28/08/2015 18:01] milou [Navigation] |
doc:systeme:info [30/08/2015 11:52] milou [Utilisation] |
||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
Nous donnera : | Nous donnera : | ||
- | <file text retour de la commande ci-dessus> | + | <file text extrait du retour de la commande ci-dessus> |
- | File: cpio.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) | + | 11.1 ‘cp’: Copy files and directories |
+ | ===================================== | ||
- | cpio | + | ‘cp’ copies files (or, optionally, directories). The copy is completely |
- | **** | + | independent of the original. You can either copy one file to another, |
+ | or copy arbitrarily many files to a destination directory. Synopses: | ||
- | GNU cpio is a tool for creating and extracting archives, or copying | + | cp [OPTION]… [-T] SOURCE DEST |
- | files from one place to another. It handles a number of cpio formats as | + | cp [OPTION]… SOURCE… DIRECTORY |
- | well as reading and writing tar files. This is the first edition of the | + | cp [OPTION]… -t DIRECTORY SOURCE… |
- | GNU cpio documentation and is consistent with 2.9. | + | |
- | * Menu: | + | • If two file names are given, ‘cp’ copies the first file to the |
+ | second. | ||
- | * Introduction:: | + | • If the ‘--target-directory’ (‘-t’) option is given, or failing that |
- | * Tutorial:: Getting started. | + | if the last file is a directory and the ‘--no-target-directory’ |
- | * Invoking cpio:: How to invoke `cpio'. | + | (‘-T’) option is not given, ‘cp’ copies each SOURCE file to the |
- | * Media:: Using tapes and other archive media. | + | specified directory, using the SOURCEs’ names. |
- | * Reports:: Reporting bugs or suggestions | + | |
- | * Concept Index:: Concept index. | + | |
- | --- The Detailed Node Listing --- | + | Generally, files are written just as they are read. For exceptions, |
+ | see the ‘--sparse’ option below. | ||
- | Invoking cpio | + | By default, ‘cp’ does not copy directories. However, the ‘-R’, ‘-a’, |
- | --zz-Info: (cpio.info.gz)Top, 28 lines --Top----- | + | and ‘-r’ options cause ‘cp’ to copy recursively by descending into |
+ | source directories and copying files to corresponding destination | ||
+ | directories. | ||
</file> | </file> | ||