Created
October 7, 2017 07:16
-
-
Save buiquangduc/97071d57f589594f7e118586a2ea7664 to your computer and use it in GitHub Desktop.
Detele all the files with specific prefix by PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mask = 'your_prefix_*.*'; | |
array_map('unlink', glob($mask)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment