I’m in the process of writing a small utility in Ruby to convert files
format to a different format.
Eventually it would be nice to to have the utility incorporate all or
the command line functionality and options of a command like cp, mv, or
(with suitable variations). For example, it would be nice to invoke it
any of 3 forms, like:
cp [OPTION]… SOURCE DEST
cp [OPTION]… SOURCE… DIRECTORY
cp [OPTION]… --target-directory=DIRECTORY SOURCE…
and to use many of the options available to cp like help, backup, force,
Is there a Ruby gem, library, class, or whatever that implements some or
of that functionality?