Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Linux Linux copy entire directory

Linux copy entire directory

To copy a directory with all subdirectories and files, use the following command:

cp -r /home/your_directory/* /home/your_new_directory

cp -r /home/your_directory/* /home/your_new_directory

In the above example the cp command would copy all files, directories, and subdirectories in the /home/your_directory directory to the /home/your_new_directory directory.

Feb 27, 2011Hoan Huynh
Linux remove entire directoryXcode compare string example
You Might Also Like:
  • Linux remove entire directory
  • Linux Zip Entire Directory Recursively
  • PHP Copy Entire Directory To Another Directory
  • Linux Chmod Change Mode Directory Recursive
  • Linux Change Owner Directory Recursively
  • Fix SoftException in Application.cpp Directory/File is writeable by group
  • PHP Completely Delete A Directory Include Sub Directories And Files
  • Free, Simple And Easiest Copy Software
  • Linux CentOS view live website access log with tail command
  • Error: ‘ping’ is not recognized as an internal or external command, operable program or batch file.
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

11 years ago Linuxcp, linux command139
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
24,442 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
21,823 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
17,631 views
JQuery Allow only numeric characters or only alphabet characters in textbox
14,978 views
C# Read Json From URL And Parse/Deserialize Json
11,691 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Things to Learn about Installingderm Loan Type S
  • Online Photo Editor – Free Photoediting Software
  • A Guide to Finding the Best Paper Sellers
  • Photoediting in Home Isn’t Hard to Do!

  • Free Photo Editor Online
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (27)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (647)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development