codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Delete a file that begins with a – dash or minus

    17th December 2014


    Raspberrypi - Codehaven

    I made a file called -duration=5 by accident and could not delete it, the only way that worked was this!

    First find it, and narrow it down to be the only one

    Then add the -delete tag to it

    Was this code snippet helpful?