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 | |
/** | |
* Converts all images in this directory and all subdirectories into JPGs. | |
* | |
* Example: php convert.php ~/Images | |
* | |
* Takes a directory as its only parameter and traverses it recursively looking for images. Whenever an image is found, | |
* this creates a copy of the image with the same name and the extension .jpg. Images with the extension .jpg will | |
* be overwritten. | |
* |
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
.DS_Store | |
_notes | |
syntax: regexp | |
\.ht.+ | |
\.project | |
wp-config.php | |
uploads/.+ | |
.*\.sw.+$ |