Delete a specific file

Thanks @csmu for the help, I found the file!

I’ll document what I ended up doing in case this is helpful for future travellers:

  1. I navigated to the /var/discourse/shared/standalone/uploads/

  2. I searched for the relevant filetype like this: ls -Rl | grep ".docx"

    (I was originally searching for files published in 2019 without noticing that for files created in the current year the l flag replaces the year with the creation time.)

  3. I looked at the list of files and found the one (there was only one in my case) that was posted today.

  4. I downloaded the file to make sure, by using a command like this on my local machine:

    scp servername:/var/discourse/shared/standalone/uploads/default/original/2X/1/FILE_ID.docx ~/Downloads
    
  5. After I confirmed that it was the file I wanted, I just deleted it (rm /var/discourse/shared/standalone/uploads/default/original/2X/1/FILE_ID.docx)

Rejoice!