#!/bin/bash

BASE=/root/delme


# please choose either local or remote

# local
#REPO="$BASE"/mystore::"$(date '+%Y-%m-%d_%H:%M:%S')"

# remote
REPO=root@localhost:"$BASE"/mystore::"$(date '+%Y-%m-%d_%H:%M:%S')"


I=0
while [ $I -lt 10 ]; do
    I=$[I+1]

    
    # please choose either parallel or singletask:

    # run in parallel
    attic create "$REPO"_$I /usr/bin &

    # run singletask
    #attic create "$REPO"_$I /usr/bin
done

wait
