how to merge two or more directories in linux

rsync examples in linux

Before we merge two or more directories, we need to define what we mean by “merge” in the context of directories. There can be a variety of requirements that could be named as merging of directories. Let’s assume that merging of (two or more) directories means “to create a new directory with files from all of the merged directories“. There…

11 simple rsync examples that you can use to be more productive

rsync examples in linux

If you have been working with Linux for any amount of time, you must be familiar with the rsync command utility. rsync is a very powerful tool that allows you to synchronize files between two locations, even remote locations over the network. It is a very powerful file transfer tool with definite advantages over any other copy programs. The generic…

how to transfer files between computers or over the network

rsync command to copy directory structure

Quite often you will need to transfer files from one location to another, many times large files. File transfer is a term that is generally used to refer to the process of transmitting files from one machine to another machine over a computer network such as LAN, WAN or the even the internet. There are several different ways to transfer…

how to copy the directory structure without the files in linux

rsync command to copy directory structure

Sometimes, you want to replicate just the structure of a directory to another location, without any of the files that reside inside the directory or the sub-directories. It is quite easy to copy over entire directory including the files by using the cp command. But the cp command does not provide an easy way to exclude files while copying or…