Search code examples
user-interfacecommand-linethunderbirdxdgutils

Adding several attachments to thunderbird (from command line)


I try to create a new message with several attachments via command line, but this does not work:

thunderbird -compose "attachment='/etc/mtab',attachment='/etc/fstab'"

Only the first file gets attached. The second is missing.

What is wrong with the above command line?

PS: I tried xdg-email first, but this fails. See How to open the user's preferred mail application on Linux?


Solution

  • the command must be specified as

    thunderbird -compose "attachment='/etc/mtab,/etc/fstab'"
    

    I have tried under windows.