Friday 29 January 2016

Tuesday 12 January 2016

Linux Directory Copy

07:53 Posted by Jurgens Krause , , , , No comments
Easy to use, easy to forget

Copy directory and subdirectories
The -R flag is to signal a recursive copy

cp -R source-dir dst-dir

Note that this will place source-dir/* in dst-dir. If you want to place source-dir/* in dst-dir/source-dir/* you must use the following command:

mkdir /dst-dir/source-dir
cp -R source-dir dst-dir/source-dir

If you want to move all directories to sub-directory, in case you used the wrong command above, use the following:

mv !(subdir) subdir


Thursday 7 January 2016

Lenovo Energy Management - (Plugged in, not charging) Solved

The last time I reinstalled my Lenovo Y50-70 with Windows 10  64-bit, I ran into the following problem:


The laptop is plugged in, but the battery is not charging beyond 60%.

This is due to the fact that I had enabled "Conservation Mode" in the Lenovo Energy Manager in the previous Windows 8.1 installation. The problem is that the Energy Manager is not available under Windows 10.

To fix the problem:

  1. Navigate to the drivers page for your notebook on the Lenovo Website.
  2. Select "Power Management" as the component
  3. Select Windows 8.1 as your Operating System
  4. Download and install the driver

The software should install without issue, at least in my experience.

Open the Lenovo Energy Manager, you will see that the current status is "Conservation Mode" this causes the battery not to be charged full in order to prolong the battery life expectancy



Click on the menu button in the top right corner, and navigate to the "Settings" tab.

On the settings tab, disable conservation mode:

Your battery should now charge to 100%