cp -r .

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-2
down vote

favorite












I run the command cp -r <Folder Name> .<Folder Name>. It have done something, but I cannot find it.



Example:



cp -r Agent .Agent.old # (There is a dot symbol on the 2nd folder name)









share|improve this question



















  • 2




    since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
    – amisax
    Aug 13 at 5:18






  • 1




    Please add a more descriptive title
    – Chrips
    Aug 13 at 8:02






  • 1




    cp -r is a vendor unique, do not use it, but rather cp -R.
    – schily
    Aug 13 at 14:22














up vote
-2
down vote

favorite












I run the command cp -r <Folder Name> .<Folder Name>. It have done something, but I cannot find it.



Example:



cp -r Agent .Agent.old # (There is a dot symbol on the 2nd folder name)









share|improve this question



















  • 2




    since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
    – amisax
    Aug 13 at 5:18






  • 1




    Please add a more descriptive title
    – Chrips
    Aug 13 at 8:02






  • 1




    cp -r is a vendor unique, do not use it, but rather cp -R.
    – schily
    Aug 13 at 14:22












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I run the command cp -r <Folder Name> .<Folder Name>. It have done something, but I cannot find it.



Example:



cp -r Agent .Agent.old # (There is a dot symbol on the 2nd folder name)









share|improve this question















I run the command cp -r <Folder Name> .<Folder Name>. It have done something, but I cannot find it.



Example:



cp -r Agent .Agent.old # (There is a dot symbol on the 2nd folder name)






linux cp dot-files






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 13 at 10:07









Jeff Schaller

32.5k849110




32.5k849110










asked Aug 13 at 5:14









user305137

61




61







  • 2




    since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
    – amisax
    Aug 13 at 5:18






  • 1




    Please add a more descriptive title
    – Chrips
    Aug 13 at 8:02






  • 1




    cp -r is a vendor unique, do not use it, but rather cp -R.
    – schily
    Aug 13 at 14:22












  • 2




    since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
    – amisax
    Aug 13 at 5:18






  • 1




    Please add a more descriptive title
    – Chrips
    Aug 13 at 8:02






  • 1




    cp -r is a vendor unique, do not use it, but rather cp -R.
    – schily
    Aug 13 at 14:22







2




2




since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
– amisax
Aug 13 at 5:18




since the new directory starts with a dot, it is hidden. You would be able to see it with ls -a
– amisax
Aug 13 at 5:18




1




1




Please add a more descriptive title
– Chrips
Aug 13 at 8:02




Please add a more descriptive title
– Chrips
Aug 13 at 8:02




1




1




cp -r is a vendor unique, do not use it, but rather cp -R.
– schily
Aug 13 at 14:22




cp -r is a vendor unique, do not use it, but rather cp -R.
– schily
Aug 13 at 14:22










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Prefixing the file name with a dot (.) is usually considered as hidden files. This folder copying should have done in the same way.



try to list hidden items by.



ls -la .Agent.old





share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462215%2fcp-r-folder-name-folder-name%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Prefixing the file name with a dot (.) is usually considered as hidden files. This folder copying should have done in the same way.



    try to list hidden items by.



    ls -la .Agent.old





    share|improve this answer


























      up vote
      1
      down vote



      accepted










      Prefixing the file name with a dot (.) is usually considered as hidden files. This folder copying should have done in the same way.



      try to list hidden items by.



      ls -la .Agent.old





      share|improve this answer
























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Prefixing the file name with a dot (.) is usually considered as hidden files. This folder copying should have done in the same way.



        try to list hidden items by.



        ls -la .Agent.old





        share|improve this answer














        Prefixing the file name with a dot (.) is usually considered as hidden files. This folder copying should have done in the same way.



        try to list hidden items by.



        ls -la .Agent.old






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 13 at 6:45









        roaima

        40.3k547110




        40.3k547110










        answered Aug 13 at 5:20









        msp9011

        3,46643862




        3,46643862



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462215%2fcp-r-folder-name-folder-name%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)