formatting
parent
e478f2dd11
commit
bc335aeee4
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue