def down_by_name(*filters, remote_dir=DEFAULT_REMOTE_DIR, local_dir=".", count=1):
    """Sync files whose filename attribute is highest in alphanumeric order"""
    files = command.list_files(*filters, remote_dir=remote_dir)
    greatest = sorted(files, key=lambda f: f.filename)
    to_sync = greatest[-count:]
    _notify_sync(Direction.down, to_sync)
    down_by_files(to_sync[::-1], local_dir=local_dir)
def down_by_name ( * filters , remote_dir = DEFAULT_REMOTE_DIR , local_dir = "." , count = 1 ) : files = command . list_files ( * filters , remote_dir = remote_dir ) greatest = sorted ( files , key = lambda f : f . filename ) to_sync = greatest [ - count : ] _notify_sync ( Direction . down , to_sync ) down_by_files ( to_sync [ : : - 1 ] , local_dir = local_dir )
Sync files whose filename attribute is highest in alphanumeric order