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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vijayahire
cp -r /home/data/files/* Desktop/backup
location where u want paste
| Is This Answer Correct ? | 5 Yes | 2 No |
What do know about tee command and its usage?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
what are the different commands used to create files?
How do I run a bash script?
What is clustering in HP and how it's work?
How do you grep recursively?
who to change the duplex setting of network interface in command line
How to rename files and folders?
How do you execute a UNIX command in the background?
How would you find the size of a file or directory?