LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2013, 06:13 PM   #1
bigmac15
LQ Newbie
 
Registered: Jun 2011
Posts: 9

Rep: Reputation: Disabled
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?
 
Old 04-14-2013, 07:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,338
Blog Entries: 55

Rep: Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538Reputation: 3538
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"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar: "preserve the symbolic links" julian16 Linux - Newbie 3 02-04-2012 11:24 PM
[SOLVED] "bash : links :command not found" error in apache server piyusharora420 Linux - Newbie 2 11-07-2010 01:16 AM
Some Joomla administration links give "Component not found" with nginx sydney-troz Linux - Server 3 10-29-2009 04:37 PM
Preserving number of links with 'cp'. ( preserve number of links ) Devyn Linux - General 7 09-16-2005 10:07 PM
Kernel compiling: any links to explain all the "make xconfig" parameters? vharishankar Linux - General 5 02-21-2005 11:27 AM


All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration