If you are looking for a command to run via ssh that ZIPs all files (of a certain type) recursively here you go: 1 - Switch into the website folder, then run zip -R YOURZIPFILENAME '*.php' '*.html' '*.js' '*.css' 2 - You can also run this from outside the website folder: zip -r YOURZIPFILENAME website_folder…
Read more
How to clone a hard drive to a new solid state disk (SSD)
Installing a solid-state drive (SSD) is one of the best upgrades you can make to your computer, but migrating your Windows installation can be tricky, because your data might not all fit on the drive. UPDATE: If you are doing lots of cloning, make it easy and simply buy a offline clone device from Amazon:…
Read more
Exchange 2010 Mailbox Export to PST
If you have an exchange server, you most likely have had people leave your organization, and than needed a copy/backup of their mailbox. Well here are the basic instructions to export that mailbox to a PST file: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User "DOMAIN\USER" (replace "DOMAIN" with your domain and "USER" with your user that…
Read more
Move shared folders and retain file and share permissions with robocopy
If you have ever had to move files from one server to another (or even computer to computer).... you NEED to use ROBOCOPY. It is a built in Windows tool, simple to use and way faster than "drag and drop". I originally asked the above question on SpiceWorks and wanted to share what I found…
Read more