Search code snippets, questions, articles...
All code snippets
Login
Register
+
Add new Snippet
Add new code snippet that you can easily search
Ask Question
If you stuck somewhere or want to start a discussion with dev community
Write Article
Share your knowledge by writing article and spread it
Chrome Extension
My Account
Browse
Javascript
React
Redux Form
Gulp
Javascript Basics
Vue.js
Chart.js
Lodash
Python
Python
SQLAlchemy
Django
Pandas
All
PHP
MySql
neo4j
AMP
Ubuntu
Flutter
Dart
Dev Tools
All
Code Manager
JSON Viewer
Javascript Runner
Comma Converter
HTML Editor
SCSS to CSS
SQL Formatter Online
Discussions
Articles
JSON Viewer
Dev Profile
More
Code snippets
Knowledgebase
About Us
Contact Us
ubuntu
Create a new directory in Ubuntu
Rename a directory in Ubuntu
Delete a directory in Ubuntu
Copy a directory to another directory in Ubuntu
Unzip a zip file in Ubuntu
Changing User Password in Ubuntu Terminal
Find all empty directories in a directory in Ubuntu
Delete all empty directories in a directory in Ubuntu
Get total size of a directory or folder in Ubuntu
Copy all folder content to another folder In Ubuntu
Copy all folder content to another folder In Ubuntu
ubuntu
Share on :
You can use below command to copy the folder content to another directory or folder.
Copy Code
cp -a /path/to/source_dir/. /path/to/dest_dir/
Contribute to this Snippet
Was this helpful?
Yes
No
Created by :
@
Write your Comment
0
Comments
Similar code snippets
Copy a directory along with its content to another directory in Ubuntu
Create a new directory or folder in Ubuntu
Remove or Delete a folder or directory in Ubuntu
Get total size of a directory or folder in Ubuntu
Find all empty directories in a directory in Ubuntu
Delete all empty directories in a directory in Ubuntu
Change directory name or rename a directory in Ubuntu
Create your own code snippets and search them using our portal and chrome extension
Programming Feeds
Learn something new everyday on Devsheet
Important Links
Contribute to this Snippet
Join Devsheet
Create new snippet
Ask a Question
Write an article
Online JSON Viewer
0 Comments