Working with CLC Server File Location recycle bins
Each CLC Server user has a dedicated recycle bin in each CLC Server File Location they have access to. When the rm command is used, the specified data is moved into the user's recycle bin in the same File System Location the data is stored in.
Only members of the admin group can empty CLC Server recycle bins (empty_recycle_bins) or restore data from CLC Server recycle bins (recycle_bin_restore).
One can avoid the need to manually empty recycle bins by setting up a script, run as a cronjob, which includes a command of the following form:
clcserver -S <serverinfo> -P <portnumber> -U <adminusername> -W <password or token> -A empty_recycle_bins -t clc://server/$LOCATIONNAME
$LOCATIONNAME should be replaced by the name of a CLC Server File Location. To empty just one user's recycle bin add to the command -u followed by the username.
