Delete Folders in /home/dev/unsecured/ with PACControl

Ben, want to revisit the question of directory and how to delete files created by PACControl in regard to the EPIC Controller

I’ve setup the system to delete preset files (verses dynamic names) but still run into an issue with dynamic filenames.
FYI - I tried the several permutations of the rmdir command within PACControl with no luck - if this works can you provide Communication Handle format and Send Communication Handle Command examples - because what I’m trying is giving me an error

Since Files and directories created by PACControl cannot be deleted by Node Red (at least simply):

  • Is there a way to use the PACControl user account in Node Red?

  • SUDO doesn’t work in Node Red or can it ? (I get a lecture that I shouldn’t do this when I try but it doesn’t work)

  • How do you delete directories via Groov Manage ?
    I’ve done it will SSH but this is for an OEM customer and they don’t want their customers having that type of access.

  • Anyway to wild card delete contents of directory in PACControl?

The issue that I have is we are creating files on the drive (via PACControl) and want a means to blow everything away without SSH or Groov Manage access. Node Red was my go to to delete directories but I get locked out until I delete files via PACControl. This works when I know all the filenames but if unknown not sure how to do.