<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra" style="font-size:12.8px">Inline...</div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px"><div class="gmail_quote"><span class="gmail-im">On Wed, Oct 19, 2016 at 9:39 AM, Matt Zagrabelny <span dir="ltr"><<a href="mailto:mzagrabe@d.umn.edu" target="_blank">mzagrabe@d.umn.edu</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-im"><span class="gmail-m_199024669932063712gmail-">On Wed, Oct 19, 2016 at 11:28 AM, Ram <<a href="mailto:ram0502@gmail.com" target="_blank">ram0502@gmail.com</a>> wrote:<br>> Hi all,<br>> A user at work added an attachment that violates corporate policy to a<br>> ticket; the ticket itself is valid and must be kept. I need to delete the<br>> attachment. A quick look at the rt-shredder tool does not make it apparent<br>> to me how to do this with rt-shredder. I can readily do it editing the db in<br>> mysql but I'd rather use rt-shredder if it will do the job.<br>> any help?<br></span><br></span><span class="gmail-im">Then perhaps something like:<br><br>/opt/rt4/sbin/rt-shredder --plugin<br>Attachments=files_only,1;file,<wbr>some_secret_document.pdf<br><br><br></span></blockquote><div><br></div><div>Thanks Matt. I did look at that - the problem is that DOC009.pdf is far from unique in our system. What I really need is to specify the ticket id, attachment id , or both. specifying a minimum size *might* work - I'd have to check and see if that's the only DOC009.pdf over 75kb but I wouldn't be surprised if there are others.</div></div></div></div></div>