Link to home
Start Free TrialLog in
Avatar of ipconfig610
ipconfig610Flag for United States of America

asked on

Rsync all data including folders the begin with ABC*

I have 2 servers.  SERVER-1 is where my data is now and SERVER-2 is where I want to move files.

On SERVER-1 i have a directory call /var/data/ with thousands of sub-directories.  I would like rsync to run every 5 minutes syncing all data including newly created directories matching:

Most of the directories have 7 to 10 characters but I only want to sync directories beginning with "ABC".  I also need to since all of each folders contents in each folder.  Can someone show me how I would do this?
Avatar of ckluka

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial