I have to sort 1400+ user home folders into sub folders. Is there a way to do this based on the users group membership? I am trying to avoid picking them out one by one and moving them into the new nested home folder.
So you’d just need to parse that output to get the individual usernames and do an mv on each username to plunk their user folder into the correct new location.