Search all disk images for a file name?recursive search for a pattern, then for each match print out the...

Do I care if the housing market has gone up or down, if I'm moving from one house to another?

What's the physical meaning of the statement that "photons don't have positions"?

BIP-23 criticism: Is bitcoin PoW actually sha256+merkleGeneration? Or have I misunderstood coinbase/append?

Three phase systems - are there any single phase devices that are connected between two phases instead of between one phase and neutral?

What's a German word for »Sandbagger«?

Why is there an extra "t" in Lemmatization?

Why is this guy handcuffed censored?

A Real World Example for Divide and Conquer Method

Is this guy trying to scam me?

What is the difference between uniform velocity and constant velocity?

Can a creature sustain itself by eating its own severed body parts?

Does a hash function have a Upper bound on input length?

Do pedestrians imitate automotive traffic?

What does Windows' "Tuning up Application Start" do?

Father as an heir

What is a Romeo Word™?

I want light controlled by one switch, not two

Do you need to have the original move to take a "Replaces:" move?

Satellite in orbit in front of and behind the Moon

Is it ethical to tell my teaching assistant that I like him?

TCP connections hang during handshake

Inside Out and Back to Front

Do I have to mention my main characters age?

Has anyone ever written a novel or short story composed of only dialogue?



Search all disk images for a file name?


recursive search for a pattern, then for each match print out the specific SEQUENCE: line number, file name, and no file contentsHow can I use grep to search a file for string combinations?How can I list files of which no symlinks exist?Moving and renaming hundreds of .jpg files, all named 5003.jpgSearch multiple directories and output file namesHow to ensure that an NTFS disk image file is not being written to when mounted?Search for word and the next few wordsHow to mount an iso disk image hidden in an unallocated free space on a disk, assuming that the location and size of the image are known?Grep Command to Search Only One Column of CSV FileHow to create and loop-mount an encrypted drive image?






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







0















When backing up many SD card images onto a large HDD, I am not sure whether one SD card is already included or not.



I would like to search all the images for a file name saved on that card, e.g. 20190722_021059.jpg, with one command.



I could use grep, and somehow figure out how to only scan the file table instead of the entire image (i.e. first 20 MB of the image), but is there any other way?



Should I mount every image and search the mounted file system then? If so, how do I mount every image with one command?










share|improve this question





























    0















    When backing up many SD card images onto a large HDD, I am not sure whether one SD card is already included or not.



    I would like to search all the images for a file name saved on that card, e.g. 20190722_021059.jpg, with one command.



    I could use grep, and somehow figure out how to only scan the file table instead of the entire image (i.e. first 20 MB of the image), but is there any other way?



    Should I mount every image and search the mounted file system then? If so, how do I mount every image with one command?










    share|improve this question

























      0












      0








      0








      When backing up many SD card images onto a large HDD, I am not sure whether one SD card is already included or not.



      I would like to search all the images for a file name saved on that card, e.g. 20190722_021059.jpg, with one command.



      I could use grep, and somehow figure out how to only scan the file table instead of the entire image (i.e. first 20 MB of the image), but is there any other way?



      Should I mount every image and search the mounted file system then? If so, how do I mount every image with one command?










      share|improve this question














      When backing up many SD card images onto a large HDD, I am not sure whether one SD card is already included or not.



      I would like to search all the images for a file name saved on that card, e.g. 20190722_021059.jpg, with one command.



      I could use grep, and somehow figure out how to only scan the file table instead of the entire image (i.e. first 20 MB of the image), but is there any other way?



      Should I mount every image and search the mounted file system then? If so, how do I mount every image with one command?







      command-line grep search disk-image






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 27 mins ago









      neverMind9neverMind9

      7383 silver badges22 bronze badges




      7383 silver badges22 bronze badges






















          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531366%2fsearch-all-disk-images-for-a-file-name%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 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%2f531366%2fsearch-all-disk-images-for-a-file-name%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

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...