How to migrate home directories all of users which have disk usage greater than 1MB to mounted disk /home2. New directories can look like /home2/login.

I have mounted disk i need to know only how to migrate these users. Need script for something.

closed as too broad by Rui F Ribeiro, G-Man, Jeff Schaller, X Tian, mosvy Nov 19 '18 at 15:05

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • what did you try already? – Serge Jun 6 '16 at 22:58