Thursday, March 6, 2008

Copying UNIX files to your Windows machine

While there are lots of tools (FTP and scp to name a couple) to allow you to transfer files from UNIX, sometimes the easiest way is with 'uuencode' and 'mail'.

If you're on a UNIX system and want to send a file to yourself, you *may* (if the system is configured appropriately) be able to send that file to yourself via email using the following command:

uuencode filename filename | mail

The first "filename" is the name of the file you want to send, and the second "filename" is the name of the file that will be seen as an attachment in the email.

No comments: