10-16-2011
Do you have specific extension to those file types?
--ahamed
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Another Unix question. How would I copy multiple directories at the same time? Right now I do:
cp -r -f /directory1/ ../backup/directory1/
I do that for each directory one at a time. But there are multiple directories I'd like to copy. So instead of sitting there and doing one at a time, is... (9 Replies)
Discussion started by: JPigford
9 Replies
2. UNIX for Dummies Questions & Answers
Can we copy a file to multiple directories using a single command line , i tried with * didnt work for me
cp /tmp/a.kool /tmp/folder/*/keys/
I am tryn to copy a.kool file to all keys folder in /tmp folder. is something i am missing ? (4 Replies)
Discussion started by: logic0
4 Replies
3. UNIX for Dummies Questions & Answers
Hi again All :)
After posting my first thread just a few eeks ago and having such a great response (Thank You once again :) ), I thought I'd perhaps ask the experts again. In short I'm trying to achieve a "find" and "copy" where the find needs to find directories:
find -d -name outbox
and... (6 Replies)
Discussion started by: Dean Rotherham
6 Replies
4. Shell Programming and Scripting
Hello all,
I'm trying to copy all files within a specified directory to another location based on a find filter of mtime -1 (Solaris OS). The issue that I'm having is that in the destination directory, I want to retain the source directory structure while copying over only the files that have... (4 Replies)
Discussion started by: hunter55
4 Replies
5. Shell Programming and Scripting
Hi,
Seems like I need help again with a problem:
I want to delete all files from my lets say "Music" Directory inkluding all of the subfolders
except for .mp3 and .MP3 files.
I tried it with globalignoring mp3 files, finding and deleting all other files, which
resulted in all files... (3 Replies)
Discussion started by: pasc
3 Replies
6. Shell Programming and Scripting
I have the following that I'd like to do:
1. I have split a file into separate files that I placed into the /tmp directory. These files are named F1 F2 F3 F4.
2. In addition, I have several directories which are alphabetized as dira dirb dirc dird.
3. I'd like to be able to copy F1 F2 F3 F4... (2 Replies)
Discussion started by: newbie2010
2 Replies
7. Shell Programming and Scripting
I have a simple script which copies directory from one place to another and deleting the source .
I am facing a situation when new files gets added when the script has started running. Its resulting in data loss
Please suggest a way to avoid data loss. I googled a lot but most are perl... (11 Replies)
Discussion started by: ningy
11 Replies
8. Shell Programming and Scripting
Hello, I have two .odt files extensions and I tried running diff command like this
$ diff A_old.odt A.odt
It just returns this output, that they are different but doesnt tell me where they are different
Binary files A_old.odt and A.odt differ
so does diff command work only if the... (1 Reply)
Discussion started by: ajayram
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a requirement where I have to connect to another server and copy directories from one server to another
Directories on the Source server look like below (YYYY-MM-DD- 1 to 23)
drwxr-xr-x 2 test_user dmfmart 422 Sep 1 23:45 2014-09-01-18
drwxr-xr-x 2 test_user dmfmart ... (3 Replies)
Discussion started by: arunkesi
3 Replies
10. Shell Programming and Scripting
guys, i did create a script but its too long, though it function the same.
# cat nightlyscan.sh
#!/usr/ksh
deyt=`date +"%Y-%m-%d"`
for i in `ls -lrt|grep $deyt|awk '{print $9}'`
do
cp -f $i /S1/Sophos/logger/
done
#
but i did not paste it all.
this is the desired. (9 Replies)
Discussion started by: kenshinhimura
9 Replies
LEARN ABOUT CENTOS
xfreeextensionlist
XQueryExtension(3) X FUNCTIONS XQueryExtension(3)
NAME
XQueryExtension, XListExtensions, XFreeExtensionList - list available extensions
SYNTAX
Bool XQueryExtension(display, name, major_opcode_return, first_event_return, first_error_return)
char **XListExtensions(display, nextensions_return)
XFreeExtensionList(list)
ARGUMENTS
display Specifies the connection to the X server.
name Specifies the extension name.
major_opcode_return
Returns the major opcode.
first_event_return
Returns the first event code, if any.
first_error_return
Returns the first error code, if any.
nextensions_return
Returns the number of extensions listed.
list Specifies the list of extension names.
DESCRIPTION
The XQueryExtension function determines if the named extension is present. If the extension is not present, XQueryExtension returns False;
otherwise, it returns True. If the extension is present, XQueryExtension returns the major opcode for the extension to
major_opcode_return; otherwise, it returns zero. Any minor opcode and the request formats are specific to the extension. If the extension
involves additional event types, XQueryExtension returns the base event type code to first_event_return; otherwise, it returns zero. The
format of the events is specific to the extension. If the extension involves additional error codes, XQueryExtension returns the base
error code to first_error_return; otherwise, it returns zero. The format of additional data in the errors is specific to the extension.
If the extension name is not in the Host Portable Character Encoding the result is implementation-dependent. Uppercase and lowercase mat-
ter; the strings ``thing'', ``Thing'', and ``thinG'' are all considered different names.
The XListExtensions function returns a list of all extensions supported by the server. If the data returned by the server is in the Latin
Portable Character Encoding, then the returned strings are in the Host Portable Character Encoding. Otherwise, the result is implementa-
tion-dependent.
The XFreeExtensionList function frees the memory allocated by XListExtensions.
X Version 11 libX11 1.6.0 XQueryExtension(3)