Unbenannt
public text v1 · immutable#!/bin/bash
echo This is an automated messge. > mp3search.log
updatedb
locate *.mp3 > mp3search.log
echo "This line should appear as first in the email" | cat mp3search.log | mail -s "global mp3 search result" user@host.tld
rm mp3search.log
echo DONE!