A while ago I had to sync files from one server to another. The reason? I was responsible for moving all the application and websites hosted on a old server to a new, faster server with better security and a updated operating system.
I recently ran into a problem with disc space on my Mac, requiring me to find and delete large files to free up some space quickly. I found the following command (in Terminal) very useful to find large files of a given size in a given directory.
When it comes to updating a database or your code in a production environment, or even migrating code between old and new servers, you don’t want someone accessing your files during your deployment procedure.
Managing a server using SSH and Command Line Access over the past few years has taught me a lot. It’s sometimes important to check how a server is doing in terms of load or you may simply want to check hard disk usage.