copy all files to folder

linkaiyi
Follow

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.

Object has 0 attachments

Was this article helpful?

This article is viewed 72 times!

Recent Viewed Articles

0 Comments

Leave a Comment

Support