Sponsored Content
Top Forums Shell Programming and Scripting Sending Multipes files as attachents in directory Post 303032377 by arunkesi on Friday 15th of March 2019 05:41:19 PM
Old 03-15-2019
Any Inputs
 

9 More Discussions You Might Find Interesting

1. How do I send email?

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies

2. UNIX for Dummies Questions & Answers

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies

3. Shell Programming and Scripting

Sending an email with more than one files

Hi, I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways. -Thambi (7 Replies)
Discussion started by: thambi
7 Replies

4. Shell Programming and Scripting

script to monitor files in a directory and sending the alert

Hi All, We are having important config files in an directory which was accessable by all /auto/config/Testbed/>ls config1.intial config2.intial config3.inital often we find that some of the lines are missing in config files, we doubt if some one is removing. I would like to write... (0 Replies)
Discussion started by: shellscripter
0 Replies

5. Shell Programming and Scripting

Grepping file names, comparing them to a directory of files, and moving them into a new directory

got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies

6. Programming

GFORTRAN sending .o files in separate directory

I am using gfortran and want to send .o files in separate directory. Currently I have the following in a bash script. The .mod files are handled ok, but the .o files are still created in the same directory as the source code fsrc="newunit.f08 math.f08 tString.f08 prout.f08 prary.f08... (1 Reply)
Discussion started by: kristinu
1 Replies

7. Shell Programming and Scripting

List files with date, create directory, move to the created directory

Hi all, i have a folder, with tons of files containing as following, on /my/folder/jobs/ some_name_2016-01-17-22-38-58_some name_0_0.zip.done some_name_2016-01-17-22-40-30_some name_0_0.zip.done some_name_2016-01-17-22-48-50_some name_0_0.zip.done and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies

8. Shell Programming and Scripting

Directory containing files,Print names of the files in the directory that are exactly same content.

Given a directory containing say a few thousand files, please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents. func(a_directory_name) output -> {“matches”: , ... ]} e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies

9. Shell Programming and Scripting

Xargs and rsync not sending all files

Hi all, I have a script issue I can't seem to work out. In a directory I have several folders and I want to send just the sapdata1 to sapdata14 folders and their contents but not sapdataXX/.snapshot the script is: #!/bin/bash # SETUP OPTIONS export SRCDIR="/scratch/doug/test/sapdata*"... (5 Replies)
Discussion started by: DougyC
5 Replies
transfns(3U)						    InterViews Reference Manual 					      transfns(3U)

NAME
TF_2Port, TF_Direct - transfer function subclasses SYNOPSIS
#include <Unidraw/transfns.h> DESCRIPTION
The TransferFunct abstract base class defines the transfer function protocol. The library predefines two subclasses. TF_2Port is a sub- class that acts as an abstract base class for transfer functions having two sets of state variables, ``input'' and ``output'', with output variables always dependent on input variables. TF_Direct is a subclass of TF_2Port that defines a one-to-one assignment relationship between an input and an output state variable. TF_2PORT PUBLIC OPERATIONS void Evaluate(Path* = nil) Evaluate first carries out information transfer between dependent state variables by calling the Transfer operation (described below). Then it iterates through its output state variables; those that have changed (according to the ChangedOutput operation, described below) get Transmit called on the connector they're bound to. Subclasses needn't redefine this operation if they imple- ment Transfer and ChangedOutput appropriately. virtual StateVar* GetInput(int index) virtual StateVar* GetOutput(int index) virtual void SetInput(StateVar*, int index) virtual void SetOutput(StateVar*, int index) Retrieve and assign the TF_2Port's input and output state variables, identified serially. These operations do nothing by default; subclasses must allocate the storage they require. virtual int Inputs() virtual int Outputs() Return the number of input and output state variables. These operations return zero by default. TF_2PORT PROTECTED OPERATIONS TF_2Port() The constructor is protected to prevent instantiation. virtual void Transfer() Enforce the subclass-specific dependencies between the TF_2Port's state variables. This operation does nothing by default. virtual boolean ChangedOutput(int index = 0) Return whether the output state variable with the given index has changed its value since the last call to Transfer. Subclasses redefine this operation according to the semantics of their Transfer operation. TF_DIRECT PUBLIC OPERATIONS TF_Direct(StateVar* input = nil, StateVar* output = nil) Instantiate a new object, optionally specifying the input state variable and its dependent output state variable. virtual StateVar* GetInput(int index = 0) virtual StateVar* GetOutput(int index = 0) virtual void SetInput(StateVar*, int index = 0) virtual void SetOutput(StateVar*, int index = 0) Retrieve and assign the TF_Direct's input and output state variables. Specifying an index greater than zero does nothing, since TF_Direct defines a dependency between one input and one output state variable. virtual int Inputs() virtual int Outputs() Return the number of input and output state variables. These operations return zero by default. virtual int Inputs() virtual int Outputs() These operations return 1. TF_DIRECT PROTECTED OPERATIONS virtual void Transfer() Assign the input state variable to the output state variable, setting a flag indicating that the output value has changed. virtual boolean ChangedOutput(int index = 0) Return the status of the flag set by Transfer. The flag is reset as a side-effect of this operation. SEE ALSO
TransferFunct(3U) Unidraw 6 August 1990 transfns(3U)
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy