SCP Recursively

I was needing to move a Virtual Machine from one Linux Server to another. I had used SCP before and only moved single files but I wanted a way to move an entire folder. Easy enough but I had a space in the folder names I was sending. I kept getting “scp:...

MySQL – Move Database

Recently I had to move several MySQL databases around. I just wanted to make note of the commands here. mysqldump -uroot -p [DB_NAME] > file.sql mysql -uroot -p [DB_NAME] < source file.sql

Schedule XP Task CLI

Command Line to Schedule Tasks in XP: http://support.microsoft.com/kb/313565 For example, to run test.bat everyday at 11:00PM: at 23:00 /every:M,T,W,Th,F c:\test.bat

Command Line Emailer

I’m working on a couple of batch files for backups and I needed a way to send logs if it fails. This looks very promising and will be looking into it further. http://www.blat.net Syntax for my purposes: blat.exe -server [SERVER[:PORT]] -u [USERNAME] -pw...