$ find source_dir -type f -name '.*' -print0 | xargs -0 -i mv '{}' target_dir