Skip to content

Commit

Permalink
Updates README: Fixes tidy up command
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLeister committed Jan 8, 2020
1 parent aabe581 commit 3bc8446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ server {

Prosody Filer has no immediate knowlegde over all the stored files and the time they were uploaded, since no database exists for that. Also Prosody is not capable to do auto deletion if *mod_http_upload_external* is used. Therefore the suggested way of purging the uploads directory is to execute a purge command via a cron job:

@daily find /home/prosody-filer/upload/* -maxdepth 0 -type d -mtime +28 | xargs rm -rf
@daily find /home/prosody-filer/upload/ -type d -mtime +28 | xargs rm -rf

This will delete uploads older than 28 days.

Expand Down

0 comments on commit 3bc8446

Please sign in to comment.