copie fichier de server vers linux 1

copie fichier de server vers linux

scp -r -p user@serveur1:chemin/vers/dossier/source user@serveur2:chemin/vers/dossier/destination

Here is what the above code is Doing:
1. The -r option tells scp to recursively copy the directory and all its contents.
2. The -p option preserves the modification times, access times, and modes from the original file.
3. The first user@serveur1:chemin/vers/dossier/source is the source directory.
4. The second user@serveur2:chemin/vers/dossier/destination is the destination directory.

Similar Posts