Sponsored Content
Top Forums Shell Programming and Scripting How to attach multiple .csv files using mutt command Post 302484737 by Jassz on Monday 3rd of January 2011 03:48:19 AM
Old 01-03-2011
How to attach multiple .csv files using mutt command

I need to attach all files starting with 'BusinessReport' using mutt command.

It could be any number of files in that directory, say BusinessReport_01, BusinessReport_03, BusinessReport_04 etc.

Is there a way to attach all files where filename like BusinessReport_* and sent it using mutt command?
Please help.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

attach multiple files in email

I am trying to send multiple files as attachment in one email, I tried to search but couldn't find. Please let me know if any solutions. (2 Replies)
Discussion started by: mgirinath
2 Replies

2. Shell Programming and Scripting

How to split a csv file and zip it and attach using mutt command?

We need to redirect the output of a query to .csv file each containing a specified number of lines.Then we should zip these files and send as attachment using mutt command. We tried using split -l 500 query_output.txt outputfile Since we are not sure about the exact number of files... (0 Replies)
Discussion started by: Jassz
0 Replies

3. Shell Programming and Scripting

Copying multiple csv files

Hi, I have mutiple csv files at server1 at /apps/test/data. I needed a script that would copy these csv files from server1 at /usr/data, put them in server2,archive the earlier files that were present in server2 before removing those already present. Kindly help. (2 Replies)
Discussion started by: Alok Ranjan
2 Replies

4. Shell Programming and Scripting

How to attach multiple file to send mail command

Hi, i want color effect on mail as well as multiple attachment.I have code but this code is used for single attachment. I am unable to attach more than one file.:wall: I want to send two attachments -ahmed.csv and ahmed1.csv . Sample content: <html> <body> <b> Hi...</b> </body> </html> ... (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies

5. Shell Programming and Scripting

Field validations in multiple files CSV

Hi, I am regular reader of this forum. My advanced thanks to everyone. Below given are the sample files INDATA (Main data) Fild1Çfld2Çfld3….. Fild1Çfld2Çfld3….. Fild1Çfld2Çfld3….. Fild1Çfld2Çfld3….. Fild1Çfld2Çfld3….. . . N records (140000) eg GRPDATA (Reference file) (2 Replies)
Discussion started by: hyperion.krish
2 Replies

6. Shell Programming and Scripting

Multiple attachments using mutt

I am trying to attach multiple files using mutt command, and all file names to be attached are taken from a flat file. and mutt command is called from a bash script when : 1. Script execution is completed. 2. Script execution is interrupted for some reason. ... (8 Replies)
Discussion started by: Shaishav Shah
8 Replies

7. Shell Programming and Scripting

Split a .csv File into Multiple Files

Hi guys, I have a requirement where i need to split a .csv file into multiple files. Say for example i have data.csv file and i have splitted that into multiple files based on some conditions i.e first file should have 100, last file 50 and other files 1000 each. Am passing the values in... (2 Replies)
Discussion started by: azherkn3
2 Replies

8. Shell Programming and Scripting

Attach multiple index.html file using mutt

Hi I want to attach multiple index.html, index_v2 file using mutt command basically i want first index.html and then index_v2.html file as a body in email , these html files are test reports I am using following command , but it is over writing , any help appreceated ;) mutt -e... (2 Replies)
Discussion started by: madankumar.t@hp
2 Replies

9. Shell Programming and Scripting

CSV joining and checking multiple files

Hello, For our work we use several scripts to gather/combine data for use in our webshop. Untill now we did not had any problems but since a couple days we noticed some mismatches between imports. It happened that several barcodes where matched even though it was a complete other product. Of... (19 Replies)
Discussion started by: SDohmen
19 Replies

10. UNIX for Beginners Questions & Answers

Export Oracle multiple tables to multiple csv files using UNIX shell scripting

Hello All, just wanted to export multiple tables from oracle sql using unix shell script to csv file and the below code is exporting only the first table. Can you please suggest why? or any better idea? export FILE="/abc/autom/file/geo_JOB.csv" Export= `sqlplus -s dev01/password@dEV3... (16 Replies)
Discussion started by: Hope
16 Replies
URLSCAN(1)						      General Commands Manual							URLSCAN(1)

NAME
urlscan - browse the URLs in an email message from a terminal SYNOPSIS
urlscan [options] < message urlscan [options] message DESCRIPTION
urlscan accepts a single email message on standard input, then displays a terminal-based list of the URLs in the given message. Selecting a URL will invoke sensible-browser(1) on it (and hence any browser specified in the BROWSER environment variable). urlscan is primarily intended to be used with the mutt (1) mailreader, but it should work well with any terminal-based mail program. urlscan is similar to urlview(1), but has the following additional features: 1. Support for more message encodings, such as quoted-printable and base64. 2. Extraction and display of the context surrounding each URL. OPTIONS
-b, --background Run the Web browser in the background, so you can select another URL without closing it (this will not work with terminal-based Web browsers such as lynx, links, or w3m). -c, --compact Display a simple list of the extracted URLs, instead of showing the context of each URL. MUTT INTEGRATION
To integrate urlscan with mutt, include the following two commands in ~/.muttrc: macro index,pager cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message" macro attach,compose cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message" Once these lines are in your mutt configuration file, pressing Control-b will allow you to browse and open the URLs in the currently selected message. SEE ALSO
/usr/share/doc/urlscan/README, sensible-browser(1), urlview(1), mutt(1) AUTHOR
This manual page was written by Daniel Burrows <dburrows@debian.org>. December 10, 2006 URLSCAN(1)
All times are GMT -4. The time now is 11:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy