status = spawn("rsync --quiet " + uri + " " + path)
elif re.match('^file://', uri):
file = uri[7:]
r_file = uri[7:]
if os.path.isfile(file):
if os.path.isfile(r_file):
shutil.copy(file, path)
shutil.copy(r_file, path)
if os.path.isfile(path):
status = 0
else: