~omnisync/omnisync/trunk

« back to all changes in this revision

Viewing changes to scripts/omnisync.bat

  • Committer: Stavros Korokithakis
  • Date: 2008-07-16 15:01:01 UTC
  • Revision ID: stavros@korokithakis.net-20080716150101-orqgepr19wbisvtq
Created Windows batch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
 
1
@echo off
 
2
REM = """
 
3
python -x omnisync.bat
 
4
goto end
 
5
"""
 
6
from omnisync.omnisync import OmniSync, parse_arguments
 
7
from omnisync.configuration import Configuration
 
8
 
 
9
osync = OmniSync()
 
10
(options, args) = parse_arguments(osync)
 
11
osync.config = Configuration(options)
 
12
osync.sync(args[0], args[1])
 
13
 
 
14
"""
 
15
:end """