Скопируйте все скрытые файлы

# Basic syntax:
rsync -a /directory/with/hidden/files/.[^.]* /destination/directory/

# Example usage:
# Say you wanted to copy all hidden directories from your home folder:
rsync -a ~/.[^.]* /path/to/destination/directory
Charles-Alexandre Roy