slack doesn't do anything special to dirs that start with a dot, and should copy them just fine. For example:
# cd
# mv .ssh .ssh-bak# ls -ld ~/.sshls: /root/.ssh: No such file or directory
# ls -ld /tmp/slacktestls: /tmp/slacktest: No such file or directory
# mkdir -p /tmp/slacktest/roles/testrole/files/root/.ssh# slack -s /tmp/slacktest testrole
# ls -ld ~/.sshdrwxr-xr-x 2 root root 4096 2010-12-01 16:24 /root/.ssh
The only exception to this is files excluded by the --cvs-exclude option that slack-sync passes to rsync. See the rsync manpage for details on what this excludes. However, that does not, as you can see above, affect dirs named ".ssh".
What exactly are you doing that is failing? Are you sure that the directory exists in your SOURCE dir and isn't being excluded by some other process?
--Alan
Is a way to pass a param to slack to copy hidden dirs (.ssh) ?