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 |
How do you change file permissions?
What is ‘ps’ command for?
What does touch command do in unix?
what is the difference between Touch & cat command
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What are bash commands?
How to check the flavor of UNIX?
What is updatedb?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,