Search Results

Search: Posts Made By: mrAibo
4,573
Posted By mrAibo
This is the IBM Spectrum Protect (TSM) bfs files.
This is the IBM Spectrum Protect (TSM) bfs files.
4,573
Posted By mrAibo
Problem with extract PDFs from huge files.
Hello Unix experts,

we have a problem :)
We have some binary files ~25GB. In this files are many (millions) PDF files included.
How we can extract them from such huge files? In small files I got...
5,819
Posted By mrAibo
[QUOTE=stomp;303045961]A little further...
[QUOTE=stomp;303045961]A little further improvement:

Instead of the find action...

-exec rm -f {} \;

you may use...

-exec rm -f {} +


or even simpler
-delete
1,693
Posted By mrAibo
Solved with Inotify tools.
Solved with Inotify tools.
1,693
Posted By mrAibo
Hello rbatte1, I suppose that the other Server...
Hello rbatte1,
I suppose that the other Server transfers the files too slow to our Server. The lag is ~3Sec., after file is ready it will archive and erased from directory.
The supporter on other...
1,693
Posted By mrAibo
File write begin/end, recording time
Hello all,

How can I find out the start and end of the writing file in the directory or recording time for writing file?

I have a directory where small ~ 1*MB temporary files are written....
3,238
Posted By mrAibo
Thank you! It works now. Here is the script....
Thank you!
It works now.
Here is the script. I generate first an SQL file and then give it to db2.

ARGLIST=$(sed -n ":L; N; \${s/\n/','/g; s/^\|$/'/g; p; q}; bL; " ITEMID.txt)
TABLES=(...
3,238
Posted By mrAibo
I made the script with #!/bin/bash -x + join...
I made the script with #!/bin/bash -x

+ join -12 -22 -o 1.1,2.1 et.tst itid.tst
+ read a b
+ db2 -x 'select DOCID from ICMADMIN.NNSPDM_PRI_01001 where ITEMID='\''A1001001A19D02A60150B20570'\'''...
3,238
Posted By mrAibo
The echo is correct, now should I make it...
The echo is correct, now should I make it executable.
The other variant works too:

join -12 -22 -o 1.1,2.1 <(xargs -n1 <et.tst) <(xargs -n1 <itid.tst) |
while read a b; do
eval echo -ne "db2'...
3,238
Posted By mrAibo
This command do it eval echo -ne "db2' '-x'...
This command do it

eval echo -ne "db2' '-x' \"'select' 'DOCID' 'from' 'ICMADMIN.{$(paste -sd, et.tst)}' where ITEMID='\'{$(paste -sd, itid.tst)}\''\"\n'"
db2 -x "select DOCID from...
3,238
Posted By mrAibo
now it's almoust works: Output:echo -x...
now it's almoust works:

Output:echo -x "select DOCID from "ICMADMIN.A1001001A19B20C31636F41449" where ITEMID="FFCPYA_DAT_01001
It should be like:db2 -x "select DOCID from...
3,238
Posted By mrAibo
Here is the output: If FHBPDM_DOC_05001 is...
Here is the output:

If FHBPDM_DOC_05001 is not a typo you can run the following command to lookup the package that contains the binary: command-not-found FHBPDM_DOC_05001

Here is as example:...
3,238
Posted By mrAibo
Hello, thank you for your help. the command ...
Hello, thank you for your help.
the command
eval echo -en "db2' '-x' \"'select' 'DOCID' 'from' \"'ICMADMIN.{$(tr ' ' , <ITEMID.txt)}'\" where ITEMID=\"'{$(tr ' ' , <et.txt)}'\n'"

make an...
3,238
Posted By mrAibo
Combine two arrays. for in for ?..
Hello all,
I have 2 very long list of elements. f.e.:

List 1
1 2 3 4 5

List 2
a b c

How can I combine the two with other. Like this:

1 a
1 b
1 c
2 a
2 b
2 c
3 a
etc.
Showing results 1 to 14 of 14

 

Featured Tech Videos

All times are GMT -4. The time now is 12:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy