I am using the command below, in my target sever:
rsync -ab myuser@sourcehost:/source_dir/* target_dir
But this is not able to sync the hidden files present source_dir
anything I need to use any --include
so that the hidden files can be migrated.
But that include option should not affect the migration of normal files as I'm using this command in my script.
What should I do?