I'm writing a script to create a directory named with today's date (yyyy_mm_dd), and then move all files ending in today's date to that directory. Is there a better way to move the files to the directory, as what I've done selects the directory as well.
now=$(date '+%Y_%m_%d')
mkdir $now
mv *$now $now/