![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2009
Location: Sayre, Williamsport, Philadelphia
Posts: 13
OS: Win XP sp2, Vista Business, Ubuntu, Server 2k3, Server 2k, Kazeon
|
/usr/bin/formail
I am using the BASH command for to list each file in the directory and sub directories. I would like to send each of these files to formail to be converted to .mbox. However, My output is only all the file paths instead of a seperate converted file for each. Here is the BASH line I am using.
find | cat | while read line; do /usr/bin/formail > mail/FindMbox/$file.mbox; done It creats a file name 20.mbox (i assume my $file syntax is incorrect) which contains only the output of the find command. Any idea on how I can get /usr/bin/formail to look at each line and convert the seperate files? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|