osTicket Version
v1.12 (a076918) — Up to date
Web Server Software
Microsoft-IIS/10.0
MySQL Version
5.7.26
PHP Version
7.0.21
I am trying to delete specific attachments from closed tickets. We use the Storage::File attachment.
I run the list command
php manage.php file -b F -N CrashReport.zip -S closed list
and see a list of attachments returned.
I then run the expunge command
php manage.php file -b F -N CrashReport.zip -S closed expunge
which ends suspiciously quickly, and shows no output.
If I run the list command again, I'm getting back the same list of attachments as originally seen. Checking closed tickets shows the specific attachment is still there, and downloadable.
Where am I going wrong with the manage file command ?