fslogix icon indicating copy to clipboard operation
fslogix copied to clipboard

Delete Files from root of %Appdata%

Open YogiBear7979 opened this issue 2 years ago • 0 comments

Describe the bug Prune of *.XML files from the root of %AppData% results in a recursive search and delete of subfolders.

To Reproduce Steps to reproduce the behavior:

  1. Save some *.XML files to the root of %appdata%
  2. Add this to the targets file: <Path Action="Prune" Days="0">%AppData%*.XML</Path>
  3. Run the cleaner

Expected behavior I had expected only the *.XML files in the root of %AppData% to delete. Instead it additionally recursively goes through all sub folders and deletes any other XML files.

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • FSLogix Apps agent version [2.9.7979.62170]

We utilize a Microsoft Word plugin that was poorly written. It didn't create a subfolder under %AppData% so it dumps it's cache files in the root. They are all .xml and all disposable.

YogiBear7979 avatar Feb 23 '22 21:02 YogiBear7979