notes/Move all Files to folders based on month and day-dnAxR7s6.sh
#!/bin/bash


for file in *
do 
  month="$(stat -c %y "$file"|cut -d\- -f2)"
  day="$(stat -c %y "$file"|cut -d\- -f3|awk '{print $1}')"
  mkdir -p ./$month/$day
  echo "Moving $file to ./$month/$day..."
  mv "$file" "./$month/$day/"
done

syntax highlighted by Code2HTML, v. 0.9.1