Duplicate a quota to other users

edquota

  • Edit quotas for a user or group. By default it operates on all filesystems with quotas.
    Quota information is stored permanently in the `quota.user` and `quota.group` files in the root of the filesystem.
    More information: <https://manned.org/edquota>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo edquota -p {{reference_user}} {{destination_user1}} {{destination_user2}}

click the source code to copy install edquota on any operating system with command-not-found.com