Skip to content

Instantly share code, notes, and snippets.

@aseba
Created January 15, 2013 13:27
Show Gist options
  • Save aseba/4538624 to your computer and use it in GitHub Desktop.
Save aseba/4538624 to your computer and use it in GitHub Desktop.
/usr/bin/sqlite3 /home/lalita/db/url.db 'select * from url WHERE date = date();' | awk -F "|" '{print $8, "["$2"]" , "by", $5 "\n"}' | mail mail@server.com -s "Links Digest for $(date +"%d-%m-%Y")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment