Archive: find

 

Posts Tagged ‘find’


If you need to do a bulk find and replace operation on a load of files within a particular folder structure, for example when refactoring some of your code, then instead of trying to use your IDE you could give this little app a try. It’s called Regexxer: http://regexxer.sourceforge.net/ And is in the Ubuntu repositories [...]



 

If you need to check which files (eg PHP files for example) have been modified within the last few days, you can run this quick command. PLAIN TEXT CODE: find . -mtime -36 -iname "*.php" -fprint modded.txt This will generate a list and save it to a file called modded.txt. More Reading:How To Extract Files [...]



 

One of the most common things that needs to be done when tidying up a database is to bulk find and replace data in MySQL tables. This can be for things like spelling mistakes, changing categories of products or any other value held in a MySQL database table. Its an easy thing to do though [...]