Skip to main content
30
results
Andrew Fletcher
When managing large directories filled with media like documents and images.  My current project directory totalling 32GB, therefore it's necessary to compress these files for easier handling and storage. However, not all files and subdirectories are needed in every archive. For instance, you might want to exclude temporary or non-essential folders from the compression. Is there a way to perform this selectively, using the zip command while specifying directories to exclude? When working on...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install <package> npm i <package>npm install --save <package> npm i -S <package>npm install --save-dev <package> npm i -D <package>npm install --global <package> npm i -G <package>npm test npm t  Update and outdated Use outdated to discover dependencies that are out of date npm outdatedUse update to perform safe dependency upgrades npm updateUse install <packagename>@latest to...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a private folder in the web root Add a .htaccess file to the private folder Update the settings.php file   Create a private folder in the web root Open a terminal window and navigate to the web root directory of your Drupal site. In your web root add your private folder.  In this instance I'll create a folder named 'prvt-media'.  Use the mkdir command to create a new folder named prvt-media mkdir...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan...
Andrew Fletcher
Using Homebrew for speed tests... I'm using Speediest CLI - for more details go...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How to count the number of files in a directory.  At some point you'll have...