/// <summary> /// Main method, pass folder name as argument. /// </summary> public static void Main (string[] args) { // Check arguments. if (args.Length < 1) { System.Console.WriteLine("Usage: CmisSyncOnce.exe mysyncedfolder"); System.Console.WriteLine("Example: CmisSyncOnce.exe \"192.168.0.22\\Main Repository\""); System.Console.WriteLine("See your folders names in C:\\Users\\you\\AppData\\Roaming\\cmissync\\config.xml or similar"); return; } // Load and synchronize. CmisSyncOnce once = new CmisSyncOnce(); once.Init(args[0]); once.Sync(); }
/// <summary> /// Main method, pass folder name as argument. /// </summary> public static void Main(string[] args) { // Check arguments. if (args.Length < 1) { System.Console.WriteLine("Usage: Oris4SyncOnce.exe mysyncedfolder"); System.Console.WriteLine("Example: Oris4SyncOnce.exe \"192.168.0.22\\Main Repository\""); System.Console.WriteLine("See your folders names in C:\\Users\\you\\AppData\\Roaming\\oris4sync\\config.xml or similar"); return; } // Load and synchronize. CmisSyncOnce once = new CmisSyncOnce(); once.Init(args[0]); once.Sync(); }