The Following User Says Thank You to rm53 For This Useful Post: | ||
|
2014-08-22
, 08:45
|
Posts: 125 |
Thanked: 108 times |
Joined on Feb 2010
|
#32
|
The Following User Says Thank You to rm53 For This Useful Post: | ||
|
2014-08-22
, 20:14
|
Posts: 32 |
Thanked: 77 times |
Joined on Dec 2011
|
#33
|
owncloudcmd /home/user/oc https://user:pass@location
|
2014-08-22
, 21:23
|
Posts: 562 |
Thanked: 1,732 times |
Joined on Jan 2010
@ NYC
|
#34
|
|
2014-08-23
, 01:35
|
Posts: 32 |
Thanked: 77 times |
Joined on Dec 2011
|
#35
|
owncloudcmd dir1 https://$user:$password@hostname/owncloud/remote.php/webdav/dir1 owncloudcmd dir2 https://$user:$password@hostname/owncloud/remote.php/webdav/dir2 owncloudcmd dir3 https://$user:$password@hostname/owncloud/remote.php/webdav/dir3
|
2014-10-18
, 01:52
|
Posts: 32 |
Thanked: 77 times |
Joined on Dec 2011
|
#36
|
|
2015-02-01
, 11:24
|
Posts: 74 |
Thanked: 45 times |
Joined on Dec 2010
|
#37
|
. $cfgfile
[[ "$options"x == x ]] && options="--silent"
|
2015-02-01
, 22:18
|
Posts: 74 |
Thanked: 45 times |
Joined on Dec 2010
|
#38
|
I have just install and setup simple_oc
It works fine but inline and (.simple* ) options are failing. With this message:
xargs: invalid option -- 0
i wanted to use the --trust option, but it fails also with the default one (-- silent) that is in its config file.
reading the script i see options error and xarg does not seem to be related. In case there is a bug it would be here
I only produce very simple shell scripts, someone can check that? otherwise i will try to check it in my computer
|
2015-02-03
, 00:29
|
Posts: 32 |
Thanked: 77 times |
Joined on Dec 2011
|
#39
|
which xargs
options='--silent --trust'
|
2015-02-11
, 12:55
|
Posts: 74 |
Thanked: 45 times |
Joined on Dec 2010
|
#40
|
Hi Antviro,
there are at least two problems. The first is with xargs: Could you output the result of
? I guess it is a version that does not understand the -0 argument.Code:which xargs
Secondly about the options: Could you post the options line in the .simple_oc.cfg? I guess you did not add quotation marks like
HypnoCode:options='--silent --trust'
options=--silent
Tags |
cloud sync, maemo 5 |
|
What I did:
1. on Server, created a test account (contains the usual demo files)
2. on Client (N900) I created /home/user/oc
(my real account uses /home/user/ownCloud)
3. I edited in .simple_oc.cfg the first three lines
to reflect the new username, password and directory
I called simple_oc
and it worked correctly
4. I put some files into the local documents subdir
and called again simple_oc
and it did correctly upload the new files to the server
ALL GOOD!
But the question remains: why not with my username/password/oc-dir?
Nevertheless thank you so much for helping me with this old little machine.