I got a script running (as cronjob) that will list the files in a folder before doing a Rsync job and emailing me the list. How can I add a subject line.find /path/to/folder/ -type f -size +1M -name *.mov -printf %f\n | ssmtp my_email@domain.comI tried this with -s Subject but no luck. It only works if I put the subject in a text file and call this text filefind /path/to/folder/ -type f -size +1M -name *.mov -printf %f\n | my_email@domain.com < /path/to/file/subjectline.txtBut than it won't add the search results in the Message.Any thoughts on what I am doing wrong,Bas
How to add subject line when sending email output of find using ssmtp
shell;find;cron;ssmtp