Too many files on the catalogue.



  • In searching for similar images with a team

    findimagedupes -t 85 Папка_1 Папка_2
    

    There's a mistake:

    findimagedupes: Argument list too long

    How do we solve this problem?



  • according http://www.jhnc.org/findimagedupes/manpage.html the programme can maintain a database of " printouts " .fingerprints() images (and, of course, the names of the files in which the images are stored).

    Indicate the database file by option -f файлIf it does not exist, it will be established for general information: a database, in format, in format. https://ru.wikipedia.org/wiki/Berkeley_DB ♪

    If the database is listed, the search for duplicates will, too, be done, and the signatures of all the files submitted by the arguments (i.e., those files) will be added to the database.

    several databases can be grouped in one (in this case the option -f файл multiple use) by option -M файл:

    $ findimagedupes -n -M /путь/к/объединённой.бд -f /путь/к/первой.бд -f /путь/ко/второй.бд
    

    There's a few more manipulations to the database. man- the girl.


    the problem:

    1. The files (prints) can be added to the database in series:

      $ findimagedupes -f /путь/к/бд -R -n /путь/к/первому/каталогу
      $ findimagedupes -f /путь/к/бд -R -n /путь/ко/второму/каталогу
      ...
      $ findimagedupes -f /путь/к/бд
      

      Opposition -n - Don't look for duplicates (only fingerprinting and bad retention) -R - to look at the catalogs with a view.

    2. If the files in one catalogue are very large and the error is made, it is possible to select the " spacing " files: /путь/к/[a-f]* - files starting with a, b, … f
    3. If the previous version is not suitable, the programme may be called using the link. find+xargsThis link will provide the largest possible number of files to launch the required programme several times (if required):

      $ find /путь/к/каталогу -type f | xargs findimagedupes -f /путь/к/бд
      

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2