Looking for the difference between cp -r and cp -a? What does recursive mean in terms of copying files from a folder?
|
|
The -r or -R for recursive means that it will copy all of the files including the files inside of sub folders. The -a option as listed is the same as -dR which means it will preserve links as well as copy the contents of sub directories. What it means by preserving links is that it will not fallow links as it is recursively copying. |
|||
|
|
|
Recursive means that By default, The |
|||||||
|
