Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

owncloudcmd doesn't accept options #4734

Closed
AnnoyingTechnology opened this issue Apr 25, 2016 · 4 comments
Closed

owncloudcmd doesn't accept options #4734

AnnoyingTechnology opened this issue Apr 25, 2016 · 4 comments

Comments

@AnnoyingTechnology
Copy link

AnnoyingTechnology commented Apr 25, 2016

When provided with any option, the command line tool only provides the Usage and doesn't run as expected.

Example:

~# owncloudcmd --confdir=/etc/owncloud/ /home/owncloud/ ownclouds://some.thi.ng
owncloudcmd - command line ownCloud client tool.

Usage: owncloudcmd <sourcedir> <owncloudurl>
[…]

This doesn't work either

~# owncloudcmd -u user -p password /home/owncloud/ https://some.thi.ng
owncloudcmd - command line ownCloud client tool.

Usage: owncloudcmd <sourcedir> <owncloudurl>
[…]

Without option, this works (in interactive mode).

owncloudcmd /home/owncloud/ https://come.thi.ng

But I need have it in non-interactive with a cronjob. Which should be expected for a command line utility.

Client configuration

Operating system: Debian 8.4 AMD64
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
owncloud-client-cmd installed from apt

@guruz
Copy link
Contributor

guruz commented Apr 26, 2016

Which version of the ownCloud client?
The distro packages might be outdated/bad ... Please install from https://owncloud.org/install/

@AnnoyingTechnology
Copy link
Author

I'd happily tell you the version but owncloudcmd -v and owncloudcmd --version only gives the Usage.
Thanks, I'll install from https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client and update the issue afterwards.

@AnnoyingTechnology
Copy link
Author

Ok this one works. The one available on vanilla debian is broken.

@guruz
Copy link
Contributor

guruz commented Apr 27, 2016

FYI @hefee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants