Why is the `cp` command giving me “will not create hard link” messages when I never asked it to create...

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Bonus calculation: Am I making a mountain out of a molehill?

Single word antonym of "flightless"

Is the Standard Deduction better than Itemized when both are the same amount?

How to motivate offshore teams and trust them to deliver?

How can I fade player when goes inside or outside of the area?

How do I keep my slimes from escaping their pens?

Can a non-EU citizen traveling with me come with me through the EU passport line?

ListPlot join points by nearest neighbor rather than order

What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?

How to bypass password on Windows XP account?

What is a Meta algorithm?

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Determinant is linear as a function of each of the rows of the matrix.

Dominant seventh chord in the major scale contains diminished triad of the seventh?

How to do this path/lattice with tikz

Is there a concise way to say "all of the X, one of each"?

Should I call the interviewer directly, if HR aren't responding?

Proof involving the spectral radius and the Jordan canonical form

Stars Make Stars

Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?

The logistics of corpse disposal

Why constant symbols in a language?

What is the correct way to use the pinch test for dehydration?



Why is the `cp` command giving me “will not create hard link” messages when I never asked it to create links?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How do I create a Windows Batch file that does not show the Command Prompt when executed?Why am I getting “File Not Found” when typing “dir” in the command prompt?Windows 7 returns “command not found” when giving the more commandTrying to rename a bunch of files through command prompt ren command but it's not giving the desired outputWhy can I create a remote directory through Windows Explorer, but not from the command prompt?How to create a hard link in Windows using mklink command?Why does the “>” command in a Windows console not redirect all messages to a file?Why does the command-not-found handler trigger for a command that exists?Command line prompt will not change directory to the C: promptSocketcan can0 port stops working after a few messages have been sent and won't reset.





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I recently ran the command cp --update --verbose -r ./* "E:Backup m.d.y" and now I am seeing messages like this appear:




cp: will not create hard link `E:Backup m.d.y/Python
Programs/PracticalTheoremProverSite/ptp-site/node_modules/memory-fs/node_modules/readable-stream/doc/wg-meetings'
to directory `E:Backup
m.d.y/CS189/Code/final-project/.git/objects/89'




Why is the copy command printing messages like this? What do these two locations even have to do with one another?










share|improve this question























  • Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

    – phuclv
    22 hours ago











  • Command Prompt is what I'm using

    – Pro Q
    4 hours ago











  • no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

    – phuclv
    2 hours ago













  • Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

    – Pro Q
    2 hours ago






  • 1





    of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

    – phuclv
    2 hours ago




















0















I recently ran the command cp --update --verbose -r ./* "E:Backup m.d.y" and now I am seeing messages like this appear:




cp: will not create hard link `E:Backup m.d.y/Python
Programs/PracticalTheoremProverSite/ptp-site/node_modules/memory-fs/node_modules/readable-stream/doc/wg-meetings'
to directory `E:Backup
m.d.y/CS189/Code/final-project/.git/objects/89'




Why is the copy command printing messages like this? What do these two locations even have to do with one another?










share|improve this question























  • Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

    – phuclv
    22 hours ago











  • Command Prompt is what I'm using

    – Pro Q
    4 hours ago











  • no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

    – phuclv
    2 hours ago













  • Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

    – Pro Q
    2 hours ago






  • 1





    of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

    – phuclv
    2 hours ago
















0












0








0








I recently ran the command cp --update --verbose -r ./* "E:Backup m.d.y" and now I am seeing messages like this appear:




cp: will not create hard link `E:Backup m.d.y/Python
Programs/PracticalTheoremProverSite/ptp-site/node_modules/memory-fs/node_modules/readable-stream/doc/wg-meetings'
to directory `E:Backup
m.d.y/CS189/Code/final-project/.git/objects/89'




Why is the copy command printing messages like this? What do these two locations even have to do with one another?










share|improve this question














I recently ran the command cp --update --verbose -r ./* "E:Backup m.d.y" and now I am seeing messages like this appear:




cp: will not create hard link `E:Backup m.d.y/Python
Programs/PracticalTheoremProverSite/ptp-site/node_modules/memory-fs/node_modules/readable-stream/doc/wg-meetings'
to directory `E:Backup
m.d.y/CS189/Code/final-project/.git/objects/89'




Why is the copy command printing messages like this? What do these two locations even have to do with one another?







command-line cp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Pro QPro Q

15712




15712













  • Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

    – phuclv
    22 hours ago











  • Command Prompt is what I'm using

    – Pro Q
    4 hours ago











  • no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

    – phuclv
    2 hours ago













  • Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

    – Pro Q
    2 hours ago






  • 1





    of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

    – phuclv
    2 hours ago





















  • Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

    – phuclv
    22 hours ago











  • Command Prompt is what I'm using

    – Pro Q
    4 hours ago











  • no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

    – phuclv
    2 hours ago













  • Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

    – Pro Q
    2 hours ago






  • 1





    of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

    – phuclv
    2 hours ago



















Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

– phuclv
22 hours ago





Which shell are you using? Bash doesn't use E:Backup and PowerShell doesn't have things like verbose

– phuclv
22 hours ago













Command Prompt is what I'm using

– Pro Q
4 hours ago





Command Prompt is what I'm using

– Pro Q
4 hours ago













no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

– phuclv
2 hours ago







no, there's no cp in cmd, unless you put cygwin's path into your path. But even in that case cp is a Unix tool and it won't accept a Windows path like E:Backup

– phuclv
2 hours ago















Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

– Pro Q
2 hours ago





Oh, so this is some weird thing that only magically happens to work probably because I have the Windows Subsystem for Linux installed on my machine, and somehow that allows me to use the command in Command Prompt? Weird...

– Pro Q
2 hours ago




1




1





of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

– phuclv
2 hours ago







of course it'll work but not as you expected. E:Backup m.d.y is a file named exactly like that in the current directory, because : is a valid character in Unix file names, and B is some invalid escape which will be treated as literal B, and is also valid in file names in Unix

– phuclv
2 hours ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425491%2fwhy-is-the-cp-command-giving-me-will-not-create-hard-link-messages-when-i-ne%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425491%2fwhy-is-the-cp-command-giving-me-will-not-create-hard-link-messages-when-i-ne%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...