jdupes icon indicating copy to clipboard operation
jdupes copied to clipboard

Feature request: Extend jdupes command-line syntax to accept individual files

Open cfgnunes opened this issue 10 months ago • 2 comments

Description:

The current implementation of jdupes restricts the input to directories only. To provide users with more flexibility, especially those who want to check specific files for duplication, I propose extending its command-line syntax to also accept individual files.

Proposed Change:

Modify the syntax from: jdupes [ options ] DIRECTORIES ... to jdupes [ options ] DIRECTORIES or FILES ...

Benefits:

  • Offers users greater precision in selecting which files or directories to check.
  • Enhances the usability and versatility of the tool, catering to a wider range of use cases.

Motivation:

I recently migrated from using rdfind to jdupes in my Nautilus Scripts, which can be found at Nautilus Scripts Repository. This transition, however, has been hampered by the fact that jdupes doesn't natively withstand direct file inputs in the same manner as rdfind. Integrating this feature would streamline the usability of jdupes in script-driven workflows and potentially attract more users who are looking for similar functionalities.

Best regards,

cfgnunes avatar Aug 20 '23 02:08 cfgnunes