def safe_check(start, end):
    """Validate existence of files and directories for a move/copy."""
    if not start.exists():
        raise SystemExit(f'{start} does not exist')
    if end.exists():
        raise SystemExit(f'{end} already exists')
    if not end.parent.is_dir():
        end.parent.mkdir(parents=True)
