LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Explain the attributes "links" in cp --preserve=links (https://www.linuxquestions.org/questions/linux-newbie-8/explain-the-attributes-links-in-cp-preserve%3Dlinks-4175458143/)

bigmac15 04-14-2013 06:13 PM

Explain the attributes "links" in cp --preserve=links
 
It is understood that cp --preserve=links means to preserve the attribute links. How would you know that the attribute "links" is preserved after the copy?

unSpawn 04-14-2013 07:06 PM

Because if you run a 'find . -type l|wc -l' in the source and target destination the number is the same?
Because 'stat -c "%F" /path/to/item' returns the text "symbolic link"?


All times are GMT -5. The time now is 11:48 AM.