Create a compressed tar file with the current date as the file name and randomly select one file from the current directory and add it to the tar file.
tar -czf $(date +%y-%m-%d).tar.gz $(ls | sort -R | head -n1)