you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago

Not at my computer with my scripts, but you can grab the path variable and loop over each entry with ls. I often end up brute forcing this and piping it to /tmp/delete then I can just grep the file. First thing I do is add bash if possible.

  • source
  • parent