From bc335aeee431ed515501b68267cb4944a6615902 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 19 Jun 2020 11:10:39 -0500 Subject: [PATCH] formatting --- Synapse-database-maintenance-tools.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.