[Bug 1782273] Re: Does not run with -makeresultsfile option

Paul Dreik 1782273 at bugs.launchpad.net
Mon Oct 15 14:33:22 UTC 2018


Hi, rdfind author here.
This is not related to -makeresultsfile, it is because -n expects a boolean argument. This is awkward, and related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754663.

This is fixed in the development version, not yet released. Given your first command, it gives the following response which hopefully had been of more help:
expected true or false after -n, not "-makeresultsfile"

I wish I had chosen that option not to take an argument in the first
place, but I can not change it because I do not want to break backwards
compatibility.

See https://github.com/pauldreik/rdfind/issues/8

Paul

** Bug watch added: Debian Bug tracker #754663
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754663

** Bug watch added: github.com/pauldreik/rdfind/issues #8
   https://github.com/pauldreik/rdfind/issues/8

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rdfind in Ubuntu.
https://bugs.launchpad.net/bugs/1782273

Title:
  Does not run with -makeresultsfile option

Status in rdfind package in Ubuntu:
  New

Bug description:
  The -makeresultsfile does not work:

  $ rdfind -n -makeresultsfile dir1 dir2
  expected true or false, not "-makeresultsfile"

  $ rdfind -n -makeresultsfile true dir1 dir2
  expected true or false, not "-makeresultsfile"

  $ rdfind -n "-makeresultsfile true" dir1 dir2
  expected true or false, not "-makeresultsfile true"

  
  This is unacceptable.  Unix command-line programs typically take options denoted by -<option> or -<option> <option flag>  however for the rdfind command the makeresultsfile option clearly does not work.  If for some odd reason this is actually the intended behavior of then it should be indicated in the man page!

  
  ~$ lsb_release -rd
  Description:    Ubuntu 18.04 LTS
  Release:        18.04

  $ rdfind --version
  This is rdfind version 1.3.5

  $ apt-cache policy rdfind
  rdfind:
    Installed: 1.3.5-1
    Candidate: 1.3.5-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdfind/+bug/1782273/+subscriptions



More information about the foundations-bugs mailing list