|
Search Tech-Forums - link takes you to our Forum's search page. Note: The following is only a text archive! To view the actual forum discussion, please visit our website at http://www.tech-forums.net Pages:1 email script(Click here to view the original thread with full colors/images)Posted by: Skuzzle I have an 800mb archive.. now its been split to 2mb files but i need to find a way to email these files all to the same address. As you can imagine, setting up a new email for each is not an option as this may be happening regularly. Any ideas on a script or other similar method ?? Posted by: ainstushar i have other alternative, if you just want to transfer the files, then use hosting services like megaupload and rapidshare or yousendit. I don't know a lot about linux scripting, but i think that you can easily do it with php. hope that helps. Posted by: Skuzzle nope.. not what im looking for. I have a googlemail account with 2.8gb so thats why i want to email although saying that, php may be the way forward. Posted by: Skuzzle ok I have set up postfix and am using mutt now and can happily send attachments via command line using mutt -s "backup" -a /home/backup.tar.gz But now I can also use split to make it into 2mb files. Any ideas on how id write a script to run through all of the files in a folder and operate that mutt command ?? Posted by: mBernhardt If you can name all the archives using a predictable system you could setup a for loop or something like that. for x = 1 to 200 do whatever I don't know the exact syntax off the top of my head. But something along those lines would be worth looking into. Posted by: Skuzzle very simple this was :P pretty much for u do blah blah mail command blah done vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited. PPC Management vB Easy Archive Final - Created by Xenon |