Category: Unix Articles
BACK
Mar 14 2014 4:00 PM MAR 14 2014 4:00 PM

Recursively find files and move them to another directoryFind files and move them to another directory

Unix | Ubuntu | Linux | Terminal

I had some software that made individual directories for each day of the month a picture was in... Needless to say that was annoying. So I needed to pull them out and place them into one directory...

find /path/to/files/ -iname "*.jpg" -type f -exec mv {} /path/to/where/you/want/them ;

Read More
Mar 1 2014 5:00 PM MAR 1 2014 5:00 PM

Find specific file types in Terminal

Unix | Ubuntu | Linux | Terminal
find . -name '*.cr2' -o -name '*.CR2' > cr2s.txt

Read More
Jan 8 2014 8:00 PM JAN 8 2014 8:00 PM

Dumping a mysql database that is on a different hostmysqldump

MySQL | Unix | Ubuntu | Linux | Terminal

Basically had an issue with phpmyadin and needed to get a decent dump of someones database. Problem is they setup restrictions on ip addresses so I had to be a bit creative. Most my normal tools such as SQL pro could not connect around all this (At lease to my best effort.)

  

mysqldump -h mysql.yourserver.com -u mysql_user -p database_name table_name

Read More
Sep 11 2013 2:49 PM SEP 11 2013 2:49 PM

Transfer a MySQL Dump to another server and install it.All in one line!

MySQL | Unix | Ubuntu

Thanks to a collegue of mine we were tasked with making a process to transfer files from one site to another in the event of a fail over. This happened to do the trick...

 

mysqldump -u root -pPASSWORD FS TABLE1 TABLE2 | ssh  'cat | mysql -u root -pPASSWORD FS'

Source: Timothy Boronczyk


Read More
Jul 19 2012 8:00 PM JUL 19 2012 8:00 PM

Summer 2012 UpdateComing up...

Javascript | PHP | Linux | Ubuntu | Unix

Summers seem to always be the busiest far as running around. I have stepped away from doing any writing for the Summer. Now that summer is starting to heat up and come to a close I have a few articles that I am going to write about this month.

  1. JavaScript Threading
  2. Optimizing your WebApp for large applications.
  3. PHP CPU/Memory usages and how to optimize your app based on these.

Read More
Sep 9 2011 8:00 PM SEP 9 2011 8:00 PM

Unix TutorialsUnix for Beginners

Websites | Unix

Recently I ran into a great Unix tutorial. It goes in great detail explaining the basics and goes up into some more advanced commands.

To say the least Ill just give you the link...

http://www.ee.surrey.ac.uk/Teaching/Unix/


Read More
Aug 7 2011 1:00 PM AUG 7 2011 1:00 PM

New Site!

CSS | HTML | Javascript | PHP | JQuery | HTML5 | MySQL | Custom Frame Work | Categories | Tutorials | Games | Movies | Imagemagick | XML | Unix

Finally I have recreated my website. It is using a content system I created from the ground up. I will be writing more on this system in the future. A small list of features this system can do:

  • Manage Multiple Sites in one.
  • Member Registration
  • Banners
  • Page Control / SEO
  • And so much more...

Read More

Tweets

Social Media

Categories