Re: get-attachment
On Wed, May 01, 2013 at 12:37:13PM -0700, Kevin J. McCarthy wrote: Tim Gray wrote: What exactly does the get-attachment command do? The manual states 'get a temporary copy of an attachment' but it's unclear to me what the use case might be. It looks like it takes an existing attachment (e.g. ~/foo.txt) and makes a copy of it to your $tmpdir. The attachment is then replaced with your tmpdir copy (/tmp/foo.txt). Perhaps if you wanted to grab a snapshot of a file that may change, you would use this command. Others may have a better ideas for the use case. It might also be useful if you want to edit the attachment before sending without modifying the original file. An example would be to remove private information from a log or settings file. -- Suvayu Open source is the future. It sets us free.
Re: get-attachment
On May 01, 2013 at 09:51 PM +0200, Suvayu Ali wrote: On Wed, May 01, 2013 at 12:37:13PM -0700, Kevin J. McCarthy wrote: It looks like it takes an existing attachment (e.g. ~/foo.txt) and makes a copy of it to your $tmpdir. The attachment is then replaced with your tmpdir copy (/tmp/foo.txt). Perhaps if you wanted to grab a snapshot of a file that may change, you would use this command. Others may have a better ideas for the use case. It might also be useful if you want to edit the attachment before sending without modifying the original file. An example would be to remove private information from a log or settings file. Thanks for the explanations and possible uses. Makes a little more sense now.