use Find command to copy and change namesCopy files in different subdirectories that excludes a stringUse...

Are differences between uniformly distributed numbers uniformly distributed?

AsyncDictionary - Can you break thread safety?

DeclareMathOperator and widearcarrow with kpfonts

Loading military units into ships optimally, using backtracking

How are you supposed to know the strumming pattern for a song from the "chord sheet music"?

What is my malfunctioning AI harvesting from humans?

Why did Gandalf use a sword against the Balrog?

Visa National - No Exit Stamp From France on Return to the UK

How to avoid the "need" to learn more before conducting research?

Bitcoin successfully deducted on sender wallet but did not reach receiver wallet

Why isn’t SHA-3 in wider use?

How to take the beginning and end parts of a list with simpler syntax?

Help evaluating integral (anything simple that I am missing?)

Why is transplanting a specific intact brain impossible if it is generally possible?

Acceptable to cut steak before searing?

Is it legal for a company to enter an agreement not to hire employees from another company?

what is measured in units of sat/kw?

Does this Foo machine halt?

function evaluation - I don't get it

Is there a standardised way to check fake news?

How many different ways are there to checkmate in the early game?

MinionPro is erroneous

In a 2 layer PCB with a top layer densely populated, from an EMI & EMC point of view should the ground plane be on top, bottom or both and why?

Is Texas Instrument wrong with their pin number on TO-92 package?



use Find command to copy and change names


Copy files in different subdirectories that excludes a stringUse find + sed + cp to find files and copy them to a directory with a different nameFind and move directories based on file type and dateFind files in directory with paired namesHow can I use a linux shell script to change directories and copy files?How can I list files of which no symlinks exist?Search by pattern, and copy within the same folder but with a different nameExcluding specific folders while copying stuffs from one directory to anotherCopy line in text file and add modified line to the end of line in same file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Hello i have a bunch of folders with several images (jpg and png) at the same directory level (./ParentDirectory/contents/1680x1050.png for example) called the same (1680x1050.jpg or 1680x1050.png) on different subdirectories, I want to know if is possible to use the find command to copy this files to a different directory (e.g. ./Something/) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg and ParenDirectory_1680x1050.png.










share|improve this question







New contributor



Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    0















    Hello i have a bunch of folders with several images (jpg and png) at the same directory level (./ParentDirectory/contents/1680x1050.png for example) called the same (1680x1050.jpg or 1680x1050.png) on different subdirectories, I want to know if is possible to use the find command to copy this files to a different directory (e.g. ./Something/) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg and ParenDirectory_1680x1050.png.










    share|improve this question







    New contributor



    Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0












      0








      0








      Hello i have a bunch of folders with several images (jpg and png) at the same directory level (./ParentDirectory/contents/1680x1050.png for example) called the same (1680x1050.jpg or 1680x1050.png) on different subdirectories, I want to know if is possible to use the find command to copy this files to a different directory (e.g. ./Something/) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg and ParenDirectory_1680x1050.png.










      share|improve this question







      New contributor



      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Hello i have a bunch of folders with several images (jpg and png) at the same directory level (./ParentDirectory/contents/1680x1050.png for example) called the same (1680x1050.jpg or 1680x1050.png) on different subdirectories, I want to know if is possible to use the find command to copy this files to a different directory (e.g. ./Something/) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg and ParenDirectory_1680x1050.png.







      linux find console






      share|improve this question







      New contributor



      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      GrestholGresthol

      11 bronze badge




      11 bronze badge




      New contributor



      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Gresthol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          0






          active

          oldest

          votes














          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          Gresthol is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535092%2fuse-find-command-to-copy-and-change-names%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








          Gresthol is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Gresthol is a new contributor. Be nice, and check out our Code of Conduct.













          Gresthol is a new contributor. Be nice, and check out our Code of Conduct.












          Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f535092%2fuse-find-command-to-copy-and-change-names%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...