How to fix owncloudcmd error: Cannot load system exclude list or list supplied via --exclude

Problem:

While running owncloudcmd, you see an error message like

owncloudcmd_error.txt
Set proxy configuration to use system configuration
Cannot load system exclude list or list supplied via --exclude
Aborted

Solution

Just create an empty exclude.lst file

create_exclude_lst.sh
touch exclude.lst

and tell owncloudcmd to use it using

run_owncloudcmd_with_exclude.sh
--exclude exclude.lst

If the error persists, ensure that owncloudcmd can read the file (i.e. permisions) and also try an absolute path.


Check out similar posts by category: Linux