formatting

Aaron Raimist 2020-06-19 11:10:39 -05:00
parent e478f2dd11
commit bc335aeee4
1 changed files with 4 additions and 2 deletions

@ -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.