Seems there is a bug in the script: apps/files/lib/Command/TransferOwnership.php
I added an extra line to output $this->sourcePath…
if (!$view->is_dir($this->sourcePath)) {
$output->writeln("<error>Unknown path provided: $sourcePathOption</error>");
$output->writeln("<error>sourcePath: $this->sourcePath</error>");
return 1;
}
the results
synyc@ds1055 [~/cloud.synyc.org]# php occ files:transfer-ownership --path=“MyTempShare” user1 user2
Unknown path provided: “MyTempShare”
sourcePath: user1/files/“MyTempShare”
oops! gotta get rid of those quotes, right? This actually works:
php occ files:transfer-ownership --path=MyTempShare user1 admin
Analysing files of user1 ...
5 [============================] < 1 sec 10.0 MiB
But obviously a bad solution because some of the other folders I want to transfer have spaces in them.
Is there a way to report this bug?