This snippet will give you the days of the week but human-readable in your own language.
today=$(date +%u) yesterday=$((today-1)) dagen=( 'zondag' 'maandag' 'dinsdag' 'woensdag' 'donderdag' 'vrijdag' 'zaterdag' 'zondag' ) today=${dagen[$vandaag]} yesterday=${dagen[$gisteren]}
Now you can use $today and $yesterday as variables in folder names, usefull for back-ups.