Excluding a type of files in rsync
Performing Rsync between two servers while excluding a type of files
Hi Guys, I would like to show you today how to sync files between two servers while excluding a specific format of files.
We have two machines unixmate1 and unixmate2.
A dir with data /unidb with two diff format of files, .data & .txt
While sync I want .txt to be excluded.
Step1: Create a dir on unixmate1; add some files with different extensions.
Step2: Perform normal rsync and verify data is transferring on the whole on unixmate2. If properly done, let’s delete the dir for re-sync
Step3: Resync with additional option –exclude=*.extension to exclude it from transfer. In our case we are going to exclude .txt
Hope you have learnt a new thing and enjoyed. Do come back for more updates God-willing (In sha Allah – in arabic)!!!
Sarat ReddySeptember 1, 2014 at 8:13 pm
can you post LDAP CONFIGURATION
Musabuddin SyedSeptember 2, 2014 at 6:19 am
sure I'm working on it, soon you will see the LDAP as well.
ThomosMay 12, 2016 at 10:03 am
This comment has been removed by the author.
AnonymousMay 12, 2016 at 10:04 am
Can you please post OPENLDAP configuration steps
Musabuddin SyedMay 16, 2016 at 7:30 am
ill try to do that
Comments are closed.