This is just a very simple patch to optionally delete the file after uploading. This could be useful for backing up files that have been hard linked, so that after uploading they are straight deleted :) I've been thinking of using a timer to watch the directory, but there's no real way to tell if the file is safe to delete (if it's in the process of uploading, etc)
This is just a very simple patch to optionally delete the file after uploading. This could be useful for backing up files that have been hard linked, so that after uploading they are straight deleted :) I've been thinking of using a timer to watch the directory, but there's no real way to tell if the file is safe to delete (if it's in the process of uploading, etc)
Let me know if there are any problems.