Before v5 version, it was possible to have directores inside the .config folder and they would be copied preserving the directories hierarchy, but now I'm getting an error Error: EISDIR: illegal operation on a directory, read. It seems that after reading the content of the .config folder, all the entries are processed as files, instead of detecting if they are directories and getting into.