• CoderSupreme@programming.devOP
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    To index the contents of the drives, you can redirect the output of the find command to a file. For example, find /path/to/your/drive -type f > drive_index.txt will create a file named drive_index.txt containing a list of all the files in the drive.

    Then place all the file list in the same folder and grep that folder to find which drive contains the file.