sendmail & attaching more then 1 file

Discuss Programming

sendmail & attaching more then 1 file

Postby Basher52 » Mon Jun 30, 2008 5:55 pm

Yo... here I am again
Have I tried this... yep and a lot too, but no good :(

I wanna split a big number of files, after I packed them all, into smaller pieces, just so I can mail them to my "BKUP" server.
this havenät been working since about the starting of May, and hte last file sent was 30M bytes and I think THAT is the problem, the SIZE of it all
I need to Split the RARs into more files and EMail all of those into several emails :P


hopefully if this can be done by some "dynamic" thing, it would be even grater lol
User avatar
Basher52
guru
guru
 
Posts: 881
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Postby Void Main » Mon Jun 30, 2008 6:41 pm

Well, I don't know about a dynamic thing but I use the "split" command to do this then use the "cat" command to reconnect them after you have received all the pieces. I'm thinking there are mailers that will split files up as I used to see some of that on the binary news groups. The newsreader would be able to automatically paste the pieces back together. At any rate split/cat do a fine job. See the man page:

http://voidmain.is-a-geek.net/man/?para ... t&mode=man
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Basher52 » Thu Jul 10, 2008 1:10 pm

Thanks, I'll try this :)
User avatar
Basher52
guru
guru
 
Posts: 881
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron