Kenjun

June 23, 2008

Sending attachments from the Unix/Linux command line

Filed under: Linux, MacOSX, Systems Administration — kenjun @ 8:40 am

Here’s how:

Source machine:

  1. zip all_my_files.zip file_*
  2. uuencode all_my_files.zip all_my_files.uu | mail my@email.address

Destination machine – download zip then:

  1.  uudecode -o all_my_files.zip all_my_files.uu

… and you’re done!

Advertisements

Create a free website or blog at WordPress.com.

%d bloggers like this: