diff --git a/Synapse-database-maintenance-tools.md b/Synapse-database-maintenance-tools.md index 9800951..cd3a3aa 100644 --- a/Synapse-database-maintenance-tools.md +++ b/Synapse-database-maintenance-tools.md @@ -7,8 +7,10 @@ The purge remote media API allows server admins to purge old cached remote media There is no purge API for local media because you may be the only one with a copy. If you are sure you want to delete local media you could use something like the following to delete media that hasn't been accessed in a while. -`find /path/to/synapse/media_store/local_content -atime +365 -delete` -`find /path/to/synapse/media_store/local_thumbnails -atime +365 -delete` +``` +find /path/to/synapse/media_store/local_content -atime +365 -delete +find /path/to/synapse/media_store/local_thumbnails -atime +365 -delete +``` This will delete media that hasn't been accessed in 365 days.