Owncloudcmd: format for "unsyncedfolders" file?


I try to exclude some folders from the sync with owncloudcmd on Linux.
I try to exclude the folder “fotos”.
How must an entry look like for this folder?

File should look like this:

Here you can find more information:
The Command Line Client :: ownCloud Documentation

The manpage is not very usefull :confused:
What is the “]” for? Is that Regex?
This are rules for files, not for folders. Are the pathes for folders relative or absolut?

Here you can find the detailed patterns: