- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UUDECODE a file sent from Outlook
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 05:31 AM
03-24-2003 05:31 AM
UUDECODE a file sent from Outlook
# LOCAL aliases
label_print : | /home/userid/scripts/label
What do I need in the script to allow me to UUDECODE the attachmet and store the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 05:42 AM
03-24-2003 05:42 AM
Re: UUDECODE a file sent from Outlook
Are any errors generated, and, although you don't show them, have you got quotes around the alias?
rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:16 AM
03-24-2003 06:16 AM
Re: UUDECODE a file sent from Outlook
Label_print : " | /home/userid/scripts/label"
The Label script looks like this.
> /tmp/label_note
while read line; do
echo "${line}" >> /tmp/label_note
done
cd /tmp/label_file
/usr/bin/uudecode /tmp/label_note
exit
It appears it still is getting corrupt data in the file. Any ideas?? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:21 AM
03-24-2003 06:21 AM
Re: UUDECODE a file sent from Outlook
You *may* be overwriting the source file before decoding is complete.
Try this:
/usr/bin/uudecode /tmp/label_note /tmp/label_note.out
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:44 AM
03-24-2003 06:44 AM
Re: UUDECODE a file sent from Outlook
When I tried doing both it does not work. The
strang thing is that ELM works OK. If I send the note to a UNIX box and then us ELM and save the filethen UUDECODE the file looks OK.
It appears that the script is doing something
wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:18 AM
03-24-2003 08:18 AM
Re: UUDECODE a file sent from Outlook
As elm is MIME aware, that may explain why you are able to read the file if you use elm, but not if you try to uudecode the file in your script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:24 AM
03-24-2003 08:24 AM