Soluții

9 Useful Examples of the Linux rsync Command

  • The rsync Tool

The rsync tool copies files and directories between two computers. It uses a sophisticated algorithm that scans directory trees to find files on the source computer that don’t exist on the destination computer. These files are transmitted to the destination computer. What makes rync so clever is it can figure out which pieces of existing files have been modified, and it only sends the changed portions.

You can use rsync to copy files to a different location on your hard drive, to a different hard drive in the same computer, to an externally connected USB drive, or any other network-accessible location.

On top of that, rsync can optionally preserve symbolic links, hard links, and file metadata such as file ownership, permissions, and access times. To support all this functionality, rsync has many options and figuring them all out takes time. We’ve collected these 10 examples to help you get started. We’ve already written about doing backups with rsync , so we’re concentrating on other uses here.

For all of its many options, the structure of an rsync command is simple. We need to provide the source, the destination, and the options we want to use. You’ll probably find that rsync is already installed on your Linux computer—it was, on all of our test machines—but if it isn’t it’ll definitely be in your distribution’s repositories.

[mai mult...]

How to Add a User to the sudoers File in Linux

The people who can use the Linux sudo command are members of a small and select club, sometimes called the “sudoers” list. Each member has the same powers as root. So how do you join that club? We’ll walk through adding a person to sudoers as well as editing the sudoers file to limit permissions.

[mai mult...]

How to enable “God mode” in Windows 10

  1. Right click on your desktop and create a new folder
  2. Enter the folder name GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}.
  3. The God mode folder will appear now on your desktop with full administrator access.

When you double-click to open the folder, you will see the clear list of currently 250 system settings. You can also easily search for the setting you need in the list using the search function.

Those who enable Windows 10 God mode can create Windows 10 Users, create a Windows 10 backup, change or enable the windows 10 administrator and make profound changes to the Windows operating system.

[mai mult...]