Custom rake task to export workgroup members on Faspex

Rake tasks are scripts that allow you to retrieve, delete or update information on your Faspex server using the command line. This article describes a custom rake task available to export the members of a Workgroup to a file.

Please note that you must install this rake task as it is not yet included by default on Faspex. For more information on custom rake tasks and how to install them, see this article (Custom rake tasks on Faspex).


This rake task exports the members of each Workgroup to a file in CSV format. You can choose to export members of all Workgroups or only of a particular Workgroup. The syntax for this rake task is as follows:

asctl faspex:rake custom:wg_members -- [options]

The available options are the following:

short form long form description                                                                                      
-ffile --file=file the result file
-nwg_name --wg_name=wg_name export only for this Workgroup
-w --wg_only print only Workgroup users, not Dropbox users
-h --help print out help information for this rake task


To export members of the Workgroup named ProjectABC to a file in the tmp directory you would do the following:

asctl faspex:rake custom:wg_members -- --file=/tmp/project_members.txt --wg_name=ProjectABC

If you wanted to show members of only Workgroups and not Dropboxes, and separate members by a slash (/) rather than a comma (,) you would use the following:

asctl faspex:rake custom:wg_members -- --file=/tmp/project_members.txt --separator=/ -w

Below is an example of what the output could look like:



Article is closed for comments.
Powered by Zendesk