11-17-2004
find .
find / -> is clear....
print -> just don't understand anyway..
grep -> is clear..
\ -> line continue is clear..
cpio -> copy file archives in and out; duplicate directory trees
cpio -p dest -> copy pass modus from one to another directory
cpio -d -> create directories as needed (must the dirs not exist?)
cpio -v -> print a list of file names as they are processed
for example, I just wanna copy all files without any extension to one dir with the subfolders - all files are in different folders but the subfolders are like same named, f.e. pics:
VAR=/pics
DEST=/new
cd
find / -type f | grep "$VAR" | grep -v "^[.].*[.].*$" | \
cpio -pdv $DEST
now any files without an extension from any subfolder called pics should be transfered to the folder new, not!?
like....
new/users/123/pics/qweq
new/users/3241/qqqqw/pics/daqwwe
new/var/.images/pics/sadas
thx...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
we r using hpUX11.00 9000 sever as oracle 8i db server...
But the problem is we have 4 instances of dbs but upto my knowledge there are only to ports available for TNS listen...
how can i configure or get wht ever it may be the other two ports for tns listener.........
... (2 Replies)
Discussion started by: Prafulla
2 Replies
2. Shell Programming and Scripting
this is my lex file ------------ test.l
%%
printf("%c",yytext+'a'-'A');.ECHO;
how do i compile it
$ lex test.l cc lex.yy.c -o test -ll <------|
|
if this is correct do i add this line--------| @the command line or does it... (0 Replies)
Discussion started by: sinner
0 Replies
3. Solaris
Server 1 SSH Version Sun_SSH_1.0
Server 2 OpenSSH_3.8.1p1
Server 3 OpenSSH_3.8p1
I created the rsa keys on server1. Public and private. I copied the id_rsa.pub file to server2 and server3 and appended this to the authorized_keys file in the .ssh directory on both. (All servers using the root... (2 Replies)
Discussion started by: frustrated1
2 Replies
4. UNIX for Dummies Questions & Answers
Trying to install Sco OSR 6.0 on Dell Optiplex with SERIAL ATA ADADPTEC 1210SA controller.
Sco says its sipported by the AACRAID driver but on installation its says that it doesnt recognise the partitions
In the middle of re-formatting at the moment - just wondered if anyone had anu... (0 Replies)
Discussion started by: farmacy
0 Replies
5. UNIX for Dummies Questions & Answers
hi guys...
i m using rm *.zip or rm -rf *.zip while removing from a server path recursively,
i m getting "Remove directory operation failed."
if i use rm* .zip
i m getting as invalid command and none of the files are removed..
please help where m i wrong
when i execute the... (13 Replies)
Discussion started by: madhu_aqua14
13 Replies
6. Programming
Im trying to write a program atm which uses mutexes to control thread access to a certain code section ( the critical section).
However, whenever I compile the code using gcc I get the following message from gcc
Unresolved text symbol "pthread_mutex_lock"
Unresolved text symbol... (1 Reply)
Discussion started by: JamesGoh
1 Replies
7. Programming
Hi all
Im trying to compile a C++ program, however Im having issues trying to link a particular library to the compiling and linking statement.
Here is what Im doing
g++ mips4 -std=c++98 -g disk_reporter.cpp -o disk_reporter
If I do this alone, the linker complains that library... (2 Replies)
Discussion started by: JamesGoh
2 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone
In an existing crontab script for the root user, I've added 5 new lines of code, however for some unknown reason, these lines of code were not executed.
Here is what I did
30 0 * * * ./usr/people/atlab/jamesgoh/disk_reader/disk_reporter /picnic
30 0 * * *... (6 Replies)
Discussion started by: JamesGoh
6 Replies
9. UNIX for Dummies Questions & Answers
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies
10. Virtualization and Cloud Computing
Hi,
I'm trying to do this: Set up OpenSolaris with Qemu (Ubuntu is hostOS). I was able to get it up and running and I have installed it on my .img. But now I need internet connection. On my Ubuntu host I did this:
#brctl addbr br0
#tunctl
#brctl addif br0 wlan0
#brctl addif br0 tap0... (1 Reply)
Discussion started by: fisfia
1 Replies
LEARN ABOUT DEBIAN
glgetprogrampipeline
GLGETPROGRAMPIPELINE(3G) [FIXME: manual] GLGETPROGRAMPIPELINE(3G)
NAME
glGetProgramPipeline - retrieve properties of a program pipeline object
C SPECIFICATION
void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params);
PARAMETERS
pipeline
Specifies the name of a program pipeline object whose parameter retrieve.
pname
Specifies the name of the parameter to retrieve.
params
Specifies the address of a variable into which will be written the value or values of pname for pipeline.
DESCRIPTION
glGetProgramPipelineiv retrieves the value of a property of the program pipeline object pipeline. pname specifies the name of the
parameter whose value to retrieve. The value of the parameter is written to the variable whose address is given by params.
If pname is GL_ACTIVE_PROGRAM, the name of the active program object of the program pipeline object is returned in params.
If pname is GL_VERTEX_SHADER, the name of the current program object for the vertex shader type of the program pipeline object is returned
in params.
If pname is GL_TESS_CONTROL_SHADER, the name of the current program object for the tessellation control shader type of the program pipeline
object is returned in params.
If pname is GL_TESS_EVALUATION_SHADER, the name of the current program object for the tessellation evaluation shader type of the program
pipeline object is returned in params.
If pname is GL_GEOMETRY_SHADER, the name of the current program object for the geometry shader type of the program pipeline object is
returned in params.
If pname is GL_FRAGMENT_SHADER, the name of the current program object for the fragment shader type of the program pipeline object is
returned in params.
If pname is GL_INFO_LOG_LENGTH, the length of the info log, including the null terminator, is returned in params. If there is no info log,
zero is returned.
ERRORS
GL_INVALID_OPERATION is generated if pipeline is not zero or a name previously returned from a call to glGenProgramPipelines() or if such a
name has been deleted by a call to glDeleteProgramPipelines().
GL_INVALID_ENUM is generated if pname is not one of the accepted values.
SEE ALSO
glGetProgramPipelines(), glBindProgramPipeline(), glDeleteProgramPipelines()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
[FIXME: source] 05/30/2012 GLGETPROGRAMPIPELINE(3G)