Find all files in the /etc/passwd directory that contain strings of 8 or more alphanumeric characters or hyphens, and replace all hyphens with forward slashes.
grep -rlE '[a-zA-Z0-9-]{8,}' /etc/passwd | xargs sed -i 's/-/\//g'