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 is the difference between pipe (|) and tee command in unix
How do I use grep to search for a file?
What is the first character of the output in ls l command?
What is the functionality of a top command?
What is unix command line?
What do chmod, chown, chgrp commands do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What does the command '$ls | wc –l > file1' do?
What is an Unix command to convert HEX value to ASCII value located in any flat file.
Explain command to show the space allocation of files?
What is pid?
How do you find path of a directory? Give its syntax.