Re: How do I send a folder attached with Kmail?
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Sat, 22 Jul 2006 06:24:51 +0200
In comp.os.linux.misc Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>:
On Fri, 21 Jul 2006 18:33:34 -0400, Yugo staggered into the Black Sun
and said:
I would like to send a [directory, with all files under it, as an
attachment] with Kmail 3.1.4. I see no way to do this. Kmail only lets
me choose files.
Aye. This is by design. The RFCs spell out how to encode and attach
*files* to e-mail, not directory trees, because things like filesystem
features would complicate sending directories quite a bit.
I could change the links in the whole file and put the file and the
pictures on the same level, but this awfully awkward. Everything is
fine the way it is. Am I daydreaming or what?
zip stuff_I_want_to_send.zip directory/
Sadly this will not work to create a recursive archive of
"directory/". Something like this should do the trick:
zip -r stuff_I_want_to_send.zip directory/
(NOTE: You can also use Ark, or a GUI archiver, or tar.)
Kmail->attach file->stuff_I_want_to_send.zip
This approach is used *constantly* by people who want to send directory
trees to other people, and it seems to work OK. HTH,
I find zipped directories containing no subdirectories but all
files in the first level are usually send to me from doze users.
Results are that I have to create a directory or mess up an
existing one to unpack. Very annoying. Personally prefer using
tar.
tar cvzf stuff_I_want_to_send.tar.gz directory/
Which should be usable even by windows users running winzip.
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 174: Backbone adjustment
.
- References:
- How do I send a folder attached with Kmail?
- From: Yugo
- Re: How do I send a folder attached with Kmail?
- From: Dances With Crows
- How do I send a folder attached with Kmail?
- Prev by Date: Re: Where did my memory go? 'ps' not showing me.
- Next by Date: External FAT32 drive (USB1.1) problems (yes, more than one)
- Previous by thread: Re: How do I send a folder attached with Kmail?
- Next by thread: Re: How do I send a folder attached with Kmail?
- Index(es):
Relevant Pages
|