owncloudcmd - command line ownCloud client tool
Usage: owncloudcmd [OPTION] <source_dir> <server_url>
A proxy can either be set manually using --httpproxy.
Otherwise, the setting from a configured sync client will be used.
Options:
--silent, -s Don't be so verbose
--httpproxy [proxy] Specify a http proxy to use.
Proxy is http://server:port
--trust Trust the SSL certification.
--exclude [file] Exclude list file
--unsyncedfolders [file] File containing the list of unsynced remote folders (selective sync)
--user, -u [name] Use [name] as the login name
--password, -p [pass] Use [pass] as password
-n Use netrc (5) for login
--non-interactive Do not block execution with interaction
--nonshib Use Non Shibboleth WebDAV authentication
--davpath [path] Custom themed dav path, overrides --nonshib
--max-sync-retries [n] Retries maximum n times (default to 3)
-h Sync hidden files,do not ignore them
--version, -v Display version and exit
owncloudcmd /home/user/folder1 https://cloud.domen.com/owncloud/
[08/10 09:58:13.486909, 6] csync_config_parse_file: config file /home/user/.ocsync/ocsync.conf not found, checking /home/user/.ocsync/ocsync.conf
[08/10 09:58:13.487578, 9] _csync_config_copy_default: Copy /etc/config/ocsync.conf to /home/user/.ocsync/ocsync.conf
[08/10 09:58:13.488069, 5] csync_init: Could not load config file /home/user/.ocsync/ocsync.conf, using defaults.
[08/10 09:58:13.488559, 5] csync_init: Could not load /etc/ocsync/ocsync_exclude.conf -
[08/10 09:58:13.488677, 7] csync_init: Could not load /home/user/.ocsync/ocsync_exclude.conf -
[08/10 09:58:13.488808, 9] csync_vio_init: capabilities: atomar copy support: yes
[08/10 09:58:13.488937, 9] csync_vio_init: capabilities: post copy stat: no
[08/10 09:58:13.489072, 9] csync_vio_init: capabilities: time sync required: no
[08/10 09:58:13.500077, 9] csync_vio_init: capabilities: unix extensions: 0
[08/10 09:58:13.500117, 9] csync_vio_init: capabilities: use send_file: yes
[08/10 09:58:13.500129, 9] csync_vio_init: capabilities: get support: no
[08/10 09:58:13.500141, 9] csync_vio_init: capabilities: put support: no
[08/10 09:58:13.500152, 9] csync_init: Module does not need time synchronization.
08-10 09:58:13:500 void Mirall::CSyncThread::startSync() Sync started
08-10 09:58:13:500 starting to sync QThread(0x1b68500) QThread(0x1b68500)
08-10 09:58:13:500 Loading config: "/home/user/.local/share/data//owncloudcmd/owncloud.cfg" (URL is "" )
08-10 09:58:13:502 Transaction Start "checkConnect"
08-10 09:58:13:502 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
08-10 09:58:13:502 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
08-10 09:58:13:502 void Mirall::CSyncThread::startSync() No default Account object, huh?
08-10 09:58:13:502 #### Update start #################################################### >>
08-10 09:58:13:502 csync_update: Journal: /home/user/folder1/.csync_journal.db
08-10 09:58:13:504 csync_memstat_check: Memory: 244084K total size, 15984K resident, 12408K shared
08-10 09:58:13:505 csync_ftw: Uniq ID from Database: .rnd -> <NULL>
08-10 09:58:13:505 csync_walker: file: /home/user/folder1/.rnd
08-10 09:58:13:505 _csync_detect_update: ==> file: .rnd - hash 16787234017151261655, mtime: 1452799839, fileId:
08-10 09:58:13:505 csync_statedb_get_stat_by_hash: No result record found for phash = 16787234017151261655
08-10 09:58:13:505 _csync_detect_update: file: .rnd, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:505 csync_ftw: Uniq ID from Database: .bash_logout -> <NULL>
08-10 09:58:13:505 csync_walker: file: /home/user/folder1/.bash_logout
08-10 09:58:13:505 _csync_detect_update: ==> file: .bash_logout - hash 18017627007786167402, mtime: 1452798946, fileId:
08-10 09:58:13:505 csync_statedb_get_stat_by_hash: No result record found for phash = 18017627007786167402
08-10 09:58:13:506 _csync_detect_update: file: .bash_logout, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:506 csync_ftw: Uniq ID from Database: .selected_editor -> <NULL>
08-10 09:58:13:506 csync_walker: file: /home/user/folder1/.selected_editor
08-10 09:58:13:506 _csync_detect_update: ==> file: .selected_editor - hash 15293096050438569465, mtime: 1470751298, fileId:
08-10 09:58:13:506 csync_statedb_get_stat_by_hash: No result record found for phash = 15293096050438569465
08-10 09:58:13:506 _csync_detect_update: file: .selected_editor, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:506 csync_ftw: Uniq ID from Database: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh -> <NULL>
08-10 09:58:13:506 csync_walker: file: /home/user/folder1/ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh
08-10 09:58:13:506 _csync_detect_update: ==> file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh - hash 11550951029848957772, mtime: 1452799555, fileId:
08-10 09:58:13:507 csync_statedb_get_stat_by_hash: No result record found for phash = 11550951029848957772
08-10 09:58:13:507 _csync_detect_update: file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:507 csync_ftw: Uniq ID from Database: .profile -> <NULL>
08-10 09:58:13:507 csync_walker: file: /home/user/folder1/.profile
08-10 09:58:13:508 _csync_detect_update: ==> file: .profile - hash 8248587146411616198, mtime: 1452798946, fileId:
08-10 09:58:13:508 csync_statedb_get_stat_by_hash: No result record found for phash = 8248587146411616198
08-10 09:58:13:508 _csync_detect_update: file: .profile, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:508 csync_ftw: Uniq ID from Database: .bash_history -> <NULL>
08-10 09:58:13:508 csync_walker: file: /home/user/folder1/.bash_history
08-10 09:58:13:509 _csync_detect_update: ==> file: .bash_history - hash 59697181716714979, mtime: 1470748230, fileId:
08-10 09:58:13:509 csync_statedb_get_stat_by_hash: No result record found for phash = 59697181716714979
08-10 09:58:13:509 _csync_detect_update: file: .bash_history, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:509 csync_ftw: Uniq ID from Database: .bashrc -> <NULL>
08-10 09:58:13:509 csync_walker: file: /home/user/folder1/.bashrc
08-10 09:58:13:509 _csync_detect_update: ==> file: .bashrc - hash 1755258766520144642, mtime: 1452798946, fileId:
08-10 09:58:13:509 csync_statedb_get_stat_by_hash: No result record found for phash = 1755258766520144642
08-10 09:58:13:509 _csync_detect_update: file: .bashrc, instruction: INSTRUCTION_NEW <<=
08-10 09:58:13:509 csync_ftw: <= Closing walk for /home/user/folder1 with read_from_db 0
08-10 09:58:13:509 csync_update: Update detection for local replica took 0.00 seconds walking 7 files.
08-10 09:58:13:510 csync_memstat_check: Memory: 244084K total size, 16052K resident, 12476K shared
08-10 09:58:13:510 oc_module: opendir method called on https://cloud.domen.com/owncloud
08-10 09:58:13:510 oc_module: * scheme https
08-10 09:58:13:510 oc_module: * host cloud.domen.com
08-10 09:58:13:510 oc_module: * port 0
08-10 09:58:13:510 oc_module: * path /owncloud
08-10 09:58:13:510 oc_module: Invalid scheme https, go outa here!
08-10 09:58:13:510 oc_module: fetch_resource_list_recursive Starting recursive propfind https://cloud.domen.com/owncloud /owncloud
Segmentation fault (core dumped)
root@weblocal:~# clear
root@weblocal:~# owncloudcmd /home/user/folder1 https://cloud.domen.com/owncloud/
[08/10 09:58:41.810803, 6] csync_config_parse_file: config file /home/user/.ocsync/ocsync.conf not found, checking /home/user/.ocsync/ocsync.conf
[08/10 09:58:41.810923, 9] _csync_config_copy_default: Copy /etc/config/ocsync.conf to /home/user/.ocsync/ocsync.conf
[08/10 09:58:41.810963, 5] csync_init: Could not load config file /home/user/.ocsync/ocsync.conf, using defaults.
[08/10 09:58:41.811001, 5] csync_init: Could not load /etc/ocsync/ocsync_exclude.conf -
[08/10 09:58:41.811035, 7] csync_init: Could not load /home/user/.ocsync/ocsync_exclude.conf -
[08/10 09:58:41.811225, 9] csync_vio_init: capabilities: atomar copy support: yes
[08/10 09:58:41.811275, 9] csync_vio_init: capabilities: post copy stat: no
[08/10 09:58:41.811307, 9] csync_vio_init: capabilities: time sync required: no
[08/10 09:58:41.811338, 9] csync_vio_init: capabilities: unix extensions: 0
[08/10 09:58:41.811367, 9] csync_vio_init: capabilities: use send_file: yes
[08/10 09:58:41.811395, 9] csync_vio_init: capabilities: get support: no
[08/10 09:58:41.811425, 9] csync_vio_init: capabilities: put support: no
[08/10 09:58:41.811467, 9] csync_init: Module does not need time synchronization.
08-10 09:58:41:811 void Mirall::CSyncThread::startSync() Sync started
08-10 09:58:41:811 starting to sync QThread(0x13c9500) QThread(0x13c9500)
08-10 09:58:41:811 Loading config: "/home/user/.local/share/data//owncloudcmd/owncloud.cfg" (URL is "" )
08-10 09:58:41:813 Transaction Start "checkConnect"
08-10 09:58:41:813 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
08-10 09:58:41:813 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
08-10 09:58:41:814 void Mirall::CSyncThread::startSync() No default Account object, huh?
08-10 09:58:41:814 #### Update start #################################################### >>
08-10 09:58:41:814 csync_update: Journal: /home/user/folder1/.csync_journal.db
08-10 09:58:41:815 csync_memstat_check: Memory: 244084K total size, 15984K resident, 12408K shared
08-10 09:58:41:815 csync_ftw: Uniq ID from Database: .rnd -> <NULL>
08-10 09:58:41:815 csync_walker: file: /home/user/folder1/.rnd
08-10 09:58:41:815 _csync_detect_update: ==> file: .rnd - hash 16787234017151261655, mtime: 1452799839, fileId:
08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 16787234017151261655
08-10 09:58:41:816 _csync_detect_update: file: .rnd, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:816 csync_ftw: Uniq ID from Database: .bash_logout -> <NULL>
08-10 09:58:41:816 csync_walker: file: /home/user/folder1/.bash_logout
08-10 09:58:41:816 _csync_detect_update: ==> file: .bash_logout - hash 18017627007786167402, mtime: 1452798946, fileId:
08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 18017627007786167402
08-10 09:58:41:816 _csync_detect_update: file: .bash_logout, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:816 csync_ftw: Uniq ID from Database: .selected_editor -> <NULL>
08-10 09:58:41:816 csync_walker: file: /home/user/folder1/.selected_editor
08-10 09:58:41:816 _csync_detect_update: ==> file: .selected_editor - hash 15293096050438569465, mtime: 1470751298, fileId:
08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 15293096050438569465
08-10 09:58:41:816 _csync_detect_update: file: .selected_editor, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:817 csync_ftw: Uniq ID from Database: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh -> <NULL>
08-10 09:58:41:817 csync_walker: file: /home/user/folder1/ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh
08-10 09:58:41:817 _csync_detect_update: ==> file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh - hash 11550951029848957772, mtime: 1452799555, fileId:
08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 11550951029848957772
08-10 09:58:41:817 _csync_detect_update: file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:817 csync_ftw: Uniq ID from Database: .profile -> <NULL>
08-10 09:58:41:817 csync_walker: file: /home/user/folder1/.profile
08-10 09:58:41:817 _csync_detect_update: ==> file: .profile - hash 8248587146411616198, mtime: 1452798946, fileId:
08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 8248587146411616198
08-10 09:58:41:817 _csync_detect_update: file: .profile, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:817 csync_ftw: Uniq ID from Database: .bash_history -> <NULL>
08-10 09:58:41:817 csync_walker: file: /home/user/folder1/.bash_history
08-10 09:58:41:817 _csync_detect_update: ==> file: .bash_history - hash 59697181716714979, mtime: 1470748230, fileId:
08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 59697181716714979
08-10 09:58:41:818 _csync_detect_update: file: .bash_history, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:818 csync_ftw: Uniq ID from Database: .bashrc -> <NULL>
08-10 09:58:41:818 csync_walker: file: /home/user/folder1/.bashrc
08-10 09:58:41:818 _csync_detect_update: ==> file: .bashrc - hash 1755258766520144642, mtime: 1452798946, fileId:
08-10 09:58:41:818 csync_statedb_get_stat_by_hash: No result record found for phash = 1755258766520144642
08-10 09:58:41:818 _csync_detect_update: file: .bashrc, instruction: INSTRUCTION_NEW <<=
08-10 09:58:41:818 csync_ftw: <= Closing walk for /home/user/folder1 with read_from_db 0
08-10 09:58:41:818 csync_update: Update detection for local replica took 0.00 seconds walking 7 files.
08-10 09:58:41:818 csync_memstat_check: Memory: 244084K total size, 16052K resident, 12476K shared
08-10 09:58:41:818 oc_module: opendir method called on https://cloud.domen.com/owncloud
08-10 09:58:41:818 oc_module: * scheme https
08-10 09:58:41:818 oc_module: * host cloud.domen.com
08-10 09:58:41:818 oc_module: * port 0
08-10 09:58:41:818 oc_module: * path /owncloud
08-10 09:58:41:818 oc_module: Invalid scheme https, go outa here!
08-10 09:58:41:818 oc_module: fetch_resource_list_recursive Starting recursive propfind https://cloud.domen.com/owncloud /owncloud
Segmentation fault (core dumped)