Skip to content

Instantly share code, notes, and snippets.

@tallesairan
Created January 29, 2021 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tallesairan/0b2a9593d908321e70a30b91fc040aa2 to your computer and use it in GitHub Desktop.
Save tallesairan/0b2a9593d908321e70a30b91fc040aa2 to your computer and use it in GitHub Desktop.
Create cpmove with array of users
usernames=('usr1' 'usr2')
for i in ${usernames[*]}; do /scripts/pkgacct $i; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment