Manually Clearing Large Recycle Bins

The tool to manually empty a recycle bin is available in FileCloud version 18.2 and later.


Administrators may need to use a tool to manually clear overfilled recycle bins that contain more than:

  • 100K of files
  • 1000 folders

Why?

  • When a user tries to empty their overfilled recycle bin, you may see errors in the Admin Portal. 


To manually clear an overfilled recycle bin:

  1. On the FileCloud Server, open the Command Prompt application.
  2. To calculate the recycle bin size, type the following command:

    C:\xampp\htdocs\resources\tools\fileutils> c:\xampp\php\php.exe emptyrecyclebin.php -h default -u tester -s
  3. To simulate emptying of the recycle bin, type the following command:

    C:\xampp\htdocs\resources\tools\fileutils> c:\xampp\php\php.exe emptyrecyclebin.php -h default -u tester
  4. To empty the recycle bin, type the following command:

    C:\xampp\htdocs\resources\tools\fileutils> c:\xampp\php\php.exe emptyrecyclebin.php -h default -u tester –r