- Option A
You can copy the content of a folder
/themeto another existing folder
/Themewith the command
cp -a /theme/. /Theme/
-aoption is a recursive option, that help you keep all file attributes.
.at end of the source path is a specific
cpsyntax that allow you to copy all files and (sub-)folders, included hidden ones.
- Option B
You can use
cpiofor this action.
# find /theme | cpio -vdump /Theme
Options -v = verbose dump = ensure all files inclusive all correct rights and permissions are copied.