[Ilugc] change attachment file name in mutt command

  • From: suresh1876@xxxxxxxxx (Suresh Kumar)
  • Date: Fri, 30 Oct 2015 19:00:19 +0530

Hi,
 i am sending mail with an attachment  using the mutt command
 since the file name is not relevant (say it generates names like..
012342.out )
 i want to change the name of the file before attaching it..

for example
mutt -s "Test Message" -a /backups/012345.out  -c toemailid at gmail.com

want to rename the file "012345.out' before attaching it.

only option i have is that, make a copy of the file in another location,
then rename it as you like and then attach it from that location and then
delete the file from that location.

any other solution..?


-- 
~ J Suresh Kumar
  95000 90432
http://rakshana.in/blog/  http://vardana.rakshana.in

Other related posts: