Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

hi i have directories within the directory. Now i want to
copy the directory along with all directories included in it
to one location by using copy command? what is the command

Answer Posted / anshul basra

Try this command:

cp -r /home/anshul/files/* /home/anshul/backup

It will recursively copy all the content of directory
called 'files' to the directory 'backup'.

Hope this will help you..!
Takecare..

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to sort the content of the file based on numeric values

1791


Which command is used to delete all files in the current directory and all its sub-directories?

1267


What are reported commands?

1140


Is grep faster than awk?

1053


What does 'mkdir' command do in UNIX?

1322


How do I open a port?

1104


What are bash commands?

1177


Explain command to view process running?

1146


Explain how to use grep command to list find the records of a file containing 10 different strings?

1082


What is the difference between awk and grep?

1272


What is the use of sed command in unix?

1215


What is the unix command to confirm a remote host is alive or not?

1223


What happens when we execute a unix command?

1153


Who command in unix?

1156


What does touch command do in unix?

1439