What does Linux cp -p or –preserve option do?

You can use cp -p (same as –preserve=mode, ownership, timestamps) to preserve the source attributes like permissions, etc.

Leave a Reply