Using php from unix command line to process/modify files
This trick/snippet combines the flexibility of unix/linux command line tools combined with php scripting. If you are unfamiliar with the "find" command, you are missing out on your abilities to search and perform updates to many files. PHP can be used to do many things, this trick will teach you how to do some of those things on many files in one go, helping you automate what would normally be a very manual process. For example, say you need to do a find replace on many files, you could use find... read more!
Posted in php, snippets | Post Comment

RSS Feed