Remote directory syncing with a single python script