« Commandes BASH » : différence entre les versions
| Ligne 241 : | Ligne 241 : | ||
== Transfert == | == Transfert == | ||
< | <syntaxhighlight lang="bash" line copy> | ||
#transfert de fichiers: | #transfert de fichiers: | ||
scp root@00.00.00.00:/home/fichier.ext . | scp root@00.00.00.00:/home/fichier.ext . | ||
| Ligne 248 : | Ligne 248 : | ||
#avec port | #avec port | ||
scp -P XXXX user@ip:/rep/fichier.txt . | scp -P XXXX user@ip:/rep/fichier.txt . | ||
</ | </syntaxhighlight> | ||
== synchronisation de fichiers == | == synchronisation de fichiers == | ||
<pre> | <pre> | ||