Skip to content

Instantly share code, notes, and snippets.

@apirogov
apirogov / rsync-prepare
Created September 7, 2022 18:08
Script to fix moved/renamed files before running rsync to avoid useless retransmissions
#!/usr/bin/env python3
"""
Fix moved/renamed files before running rsync to avoid useless retransmissions.
Copyright (C) 2022 Anton Pirogov, licensed under the MIT License
"""
from itertools import chain
from typing import List, Dict, Optional
from dataclasses import dataclass
from pathlib import Path
{
"title": "TEMExperimentDataSet",
"description": "Visual data collected from a transmission electron microscopy experiment in a single grain of a sample.",
"type": "object",
"properties": {
"author": {
"title": "Author",
"description": "Person who designed and/or performed the experiment.",
"type": "string"
},