informatique:linux:copier_un_repertoire_entier_recursivement
Copier un répertoire entier récursivement
You can copy the content of a folder /source to another existing folder /dest with the command
cp -a /source/. /dest/
The -a
option is an improved recursive option, that preserve all file attributes, and also preserve symlinks.
The .
at end of the source path is a specific cp syntax that allow to copy all files and folders, included hidden ones.
informatique/linux/copier_un_repertoire_entier_recursivement.txt · Dernière modification : 12/08/2020 23:14 de lauberterio