04-05-2019
Hello
malaika,
I would like to bring up a few things to consider:-
- How do you know that the file is complete before you try to split it? Perhaps it gets transferred as filename.partial then renamed to filename when complete or there is a flag file such as filename.OKAY created in the next step
- Why break up the file to send it and reassemble? Have you considered rsync? If there is an interruption it can restart to catch up. You might be able to set it up to transfer then remove the original. Trial this with small files though
Does this help/hinder/miss the point?
Kind regards,
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
:mad: I have to write a script in informatica, which is used to combine two remote flat files (3 Replies)
Discussion started by: srinivasaraju.m
3 Replies
2. Shell Programming and Scripting
Hi,
I needs to split *.txt files from single directory depends on the some mutltiple input values. i have wrote the code like below
for file in *.txt
do
grep -i -h "value1|value2" $file > $file;
done.
My requirment is more input values needs to be given in grep; let us say 50... (3 Replies)
Discussion started by: arund_01
3 Replies
3. Shell Programming and Scripting
I need to write a shell script to transfer the files every hour from source - target server.
The cron job should be running every hour and shouldn't copy already copied files to the remote server ?
I was able to write intial script but not able to get the logic for (in the next run it should... (12 Replies)
Discussion started by: radhirk
12 Replies
4. Shell Programming and Scripting
Hi All,
what is the comand to log off the remote server?
I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:
login the remote server:
=================
ssh hostB
cd /data/test
find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
5. Shell Programming and Scripting
Hi all,
I am new to this forum,and it has been really a great pleasure to be a part of this forum:)
well,i m trying to write a shell script where i m transfering a set of files from other server to my own server.
for this i m using scp... (1 Reply)
Discussion started by: prasson_ibm
1 Replies
6. Shell Programming and Scripting
Hi Scripting experts,
I am new to the unix scripting. Please help me out for solving the condition given below
I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies
7. Shell Programming and Scripting
I have multiple files; each file contains a certain data in a column view
simply i want to combine all those files into one file in columns
example
file1:
a
b
c
d
file 2:
1
2
3
4
file 3:
G (4 Replies)
Discussion started by: ahmedamro
4 Replies
8. Shell Programming and Scripting
hello,
i am trying to get a list of files to be scped from the remote server
by running the below in my local unix server ( note - there is a passwordless connectivity setup made between the local and remote server) and, we use KSH.
---
ssh $scp_host "find /a/b/c/*/ -iname "$remote_file"" >... (4 Replies)
Discussion started by: billpeter3010
4 Replies
9. Shell Programming and Scripting
Hello,
I need help in writing the shell script for below mentioned case.
There are 2 servers(server A, server B).
A cronjob syncs files between these 2 servers.
Existing script is copying files from A to B.
This is done using the command rsync.
However, the files are not deleted... (2 Replies)
Discussion started by: SravaniVedam11
2 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I would like to scp multiple files to a remote server that requires a password for the process to be completed.
I have 30 folders (x_1, x_2 ... x_30), each containing 25 files. What I want to do is scp 1 out of the 25 files (file called bvals) for all my folders to a remote server and... (3 Replies)
Discussion started by: nasia.m
3 Replies
LEARN ABOUT DEBIAN
vcd2lxt2
VCD2LXT2(1) Filetype Conversion VCD2LXT2(1)
NAME
vcd2lxt2 - Converts VCD files to LXT2 files
SYNTAX
vcd2lxt2 [option]... [VCDFILE] [LXTFILE]
DESCRIPTION
Converts VCD files to LXT2 files.
OPTIONS
-v,--vcdname <filename>
Specify VCD input filename.
-l,--lxtname <filename>
Specify LXT2 output filename.
-d,--depth <value>
Specify 0..9 gzip compression depth, default is 4.
-m,--maxgranule <value>
Specify number of granules per section, default is 8. One granule is equal to 32 timsteps.
-b,--break <value>
Specify break size (default = 0 = off). When the break size is exceeded, the LXT2 dumper will dump all state information at the
next convenient granule plus dictionary boundary.
-p,--partialmode <mode>
Specify partial zip mode 0 = monolithic, 1 = separation. Using a value of 1 expands LXT2 filesize but provides fast access for very
large traces. Note that the default mode is neither monolithic nor separation: partial zip is disabled.
-c,--checkpoint <mode>
Specify checkpoint mode. 0 is on which is default, and 1 is off. This is disabled when the break size is active.
-h,--help
Show help screen.
EXAMPLES
Note that you should specify dumpfile.vcd directly or use "-" for stdin.
vcd2lxt dumpfile.vcd dumpfile.lxt --depth 9 --break 1073741824
This sets the compression level to 9 and sets the break size to 1GB.
vcd2lxt dumpfile.vcd dumpfile.lxt --depth 9 --maxgranule 256
Allows more granules per section which allows for greater compression.
LIMITATIONS
vcd2lxt2 does not store glitches as these are coalesced together into one value change during the writing of the LXT2 file.
AUTHORS
Anthony Bybell <bybell@rocketmail.com>
SEE ALSO
lxt2vcd(1) vcd2lxt2(1) gtkwave(1)
Anthony Bybell 1.3.42 VCD2LXT2(1)