Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: info-gnus-english@gnu.org
Subject: Re: Show size of a mail/posting?
Date: Mon, 26 Jun 2017 09:53:44 +0200	[thread overview]
Message-ID: <87y3sfjibb.fsf@debian.uxu> (raw)
In-Reply-To: <87k23zs2n8.fsf@fu-berlin.de>

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> What's the easiest way to display the total size,
> i.e. including attachments, of a mail or posting?

What mail client do you use?

If it archives the post/mail as a single text file,
you can use

    $ ls -b -l FILE

or

    $ wc -c FILE

to count the bytes/chars, including the headers.

As for the attachment you can do the same (ls -bl) on
the file and then add the number of bytes to that of
the text file.

-- 
underground experts united
http://user.it.uu.se/~embe8573



  reply	other threads:[~2017-06-26  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-26  6:07 Loris Bennett
2017-06-26  7:53 ` Emanuel Berg [this message]
2017-06-26  8:04 ` Teemu Likonen
2017-06-26  8:14   ` Emanuel Berg
2017-06-29  8:18   ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3sfjibb.fsf@debian.uxu \
    --to=moasen@zoho.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).