File: rdiff-backup

package info (click to toggle)
rdiff-backup 1.2.8-7
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 956 kB
  • ctags: 1,562
  • sloc: python: 8,332; ansic: 698; makefile: 5
file content (32 lines) | stat: -rw-r--r-- 1,141 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
# rdiff-backup -- Mirror files while keeping incremental changes
# Version 1.2.8 released March 16, 2009
# Copyright (C) 2001-2005  Ben Escoto <rdiff-backup@emerose.org>
#
# This program is licensed under the GNU General Public License (GPL).
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA; either
# version 2 of the License, or (at your option) any later version.
# Distributions of rdiff-backup should include a copy of the GPL in a
# file called COPYING.  The GPL is also available online at
# http://www.gnu.org/copyleft/gpl.html.
#
# See http://rdiff-backup.nongnu.org/ for more information.  Please
# send mail to me or the mailing list if you find bugs or have any
# suggestions.

import sys
import rdiff_backup.Main

try:
	import msvcrt, os
	msvcrt.setmode(0, os.O_BINARY)
	msvcrt.setmode(1, os.O_BINARY)
except ImportError:
	pass

if __name__ == "__main__" and not globals().has_key('__no_execute__'):
	rdiff_backup.Main.error_check_Main(sys.argv[1:])