Skip to main content

File Expiration

File Expiration deletes files in a folder that have not been modified within a specified number of days. Use it to enforce retention rules, control storage growth, and keep sensitive data from lingering past its useful life.

Configuring File Expiration

You configure File Expiration on a per-folder basis. You must have administrator access to the folder to change its expiration settings. To enable expiration, supply the folder path and the number of days files are kept before they are automatically deleted. You can also choose to apply the rule only to the files directly in the folder, not to its subfolders.

By default, File Expiration removes only files and leaves the folder structure intact. You can also configure it to remove empty folders.

Delete Empty Folders

The Delete Empty Folders option removes folders that become empty after their files expire. It also removes folders that were already empty before expiration ran.

This option is only available when the rule applies to subfolders.

Delete Empty Folders does not remove a folder that has permissions, folder settings, or notifications applied directly to it.

Overriding the Setting in Subfolders

By default, a folder's File Expiration setting also applies to its subfolders. You can override this behavior in two ways.

The first is to mark a folder's expiration setting to not apply to subfolders.

The other is to configure a separate File Expiration setting for a subfolder path. The subfolder's setting can specify a different number of days, or disable expiration entirely.

Deletion Timing

File Expiration settings apply to all files retroactively. If you have files older than the time frame you choose, those files begin to be deleted within 24 hours of updating the setting.

Deletion of expired files runs once per day. The age of each file in the affected folder and its subfolders is checked, and files older than the specified retention period are deleted. How long the process takes depends on how many files are being deleted and whether subfolders are included.

Retaining Deleted Files

File Expiration removes active files after a specified interval. A separate setting controls how long deleted files are retained as backups eligible for restore. See Retaining Deleted Files for details.

Site Administrators can restore retained files using the Restore Deleted Files feature.

Mounted Folders

File Expiration settings do not apply to remote mounted folders.

Logging

When Files.com performs its automated File Expiration sweeps, the resulting deletions are recorded in the history logs the same as any other deletion. The logs show the deletion was performed by the user "robot".