def get_dates():
    '\n    Scan dirgiga for *tar files\n    '
    subd = 1
    pattern = f'{dirgigaref}/*.{subd:02}.tar'.format(subd=subd)
    files = glob.glob(pattern)
    _dates_tar = [f.split('/')[(- 1)].split('.')[(- 3)] for f in files]
    return sorted(_dates_tar)
Scan dirgiga for *tar files
def get_dates():
    '\n    \n    '
    subd = 1
    pattern = f'{dirgigaref}/*.{subd:02}.tar'.format(subd=subd)
    files = glob.glob(pattern)
    _dates_tar = [f.split('/')[(- 1)].split('.')[(- 3)] for f in files]
    return sorted(_dates_tar)