You can concatenate the files one by one if you just do something like:
Maybe you have to check if this is the right order in which they will be concatenated.
I need some suggestions on how to write the code to copy multiple files rather than duplicating the code multiple times.
Example: I have four files that need to go throught this logic in the same way. Do I have to duplicate this chunk of code four times or can I built the logic in the same set... (2 Replies)
Hi Friends,
My goal is to copy 1000 of files of same filesize simultaneously to a directory. i.e i do multiple copies into a same directory. What i feel here is, at some 1000th iteration, few transfers ends in advance before some transfers start. I need to get synchronized file transfers so that... (1 Reply)
I am looking for the easiest way to copy a set of files 1000 times and increment sequentially.
I want to copy these 2 files:
Scenario.1.1.ud
Scenario.1.2.ud
So that it creates the following:
Scenario.2.1.ud
Scenario.2.2.ud
Scenario.3.1.ud
Scenario.3.2.ud
..
..
Scenario.1000.1.ud... (2 Replies)
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)
Hello,
I'm very new to scripting languages and I'm to use shell script to write a utility to backup files with a specific extension into a subdirectory.
Here is what I have done.
#!/bin/bash
read -p "Enter file(s) extension: " FILE
if ; then
mkdir `whoami`.$FILE #To... (9 Replies)
Hi,
I have multiple files that read:
Asa.txt
Bad.txt
Gnu.txt
And I want to rename them using awk to
Asa_ddmmyytt.txt and so on
...
If there is a single command or more efficient executable please share!
Thanks! (4 Replies)
Shell script for connecting multiple servers and then copying 30 days old files from those server .
HI ,
I have 6 multiple servers
pla1,pla2,pla3,pla4,pla5,pla6
1. These six servers have common shared mount point /var/share
2. Running script from /var/share to connect these servers.I... (1 Reply)
Hi All,
i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy the file.
can any one please assist here.
Please find the below path :-
/ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies
LEARN ABOUT SUNOS
msgpullup
msgpullup(9F) Kernel Functions for Drivers msgpullup(9F)NAME
msgpullup - concatenate bytes in a message
SYNOPSIS
#include <sys/stream.h>
mblk_t *msgpullup(mblk_t *mp, ssize_t len);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
mp Pointer to the message whose blocks are to be concatenated.
len Number of bytes to concatenate.
DESCRIPTION
msgpullup() concatenates and aligns the first len data bytes of the message pointed to by mp, copying the data into a new message. Any
remaining bytes in the remaining message blocks will be copied and linked onto the new message. The original message is unaltered. If len
equals -1, all data are concatenated. If len bytes of the same message type cannot be found, msgpullup() fails and returns NULL.
RETURN VALUES
msgpullup returns the following values:
Non-null Successful completion. A pointer to the new message is returned.
NULL An error occurred.
CONTEXT
msgpullup() can be called from user or interrupt context.
SEE ALSO srv(9E), allocb(9F), pullupmsg(9F), msgb(9S)
Writing Device Drivers
STREAMS Programming Guide
NOTES
msgpullup() is a DKI-compliant replacement for the older pullupmsg(9F) routine. Users are strongly encouraged to use msgpullup() instead of
pullupmsg(9F).
SunOS 5.10 11 Nov 1996 msgpullup(9F)