How can I copy the contents of a folder to another folder in a different directory using terminal?

How can I copy the contents of a folder to another folder in a different directory using terminal?


How can I copy the contents of a folder to another folder in a different directory using terminal?

Yes OF Course

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.
muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad muhamad tobiin tobidsn muhamad tobiin tobidsn@gmail http://github.com/tobidsn https://www.facebook.com/tobidsn https://github.com/tobidsn ahmad muhamad tobiin ahmad

Komentar