Sponsored Content
Full Discussion: copy of files
Top Forums UNIX for Advanced & Expert Users copy of files Post 302135019 by Yogesh Sawant on Wednesday 5th of September 2007 06:22:48 AM
Old 09-05-2007
Do you see any error message? If yes, what is it?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copy files

Hi, Under the home directory, I want to search for all the *.xml files and move them all into another folder under home. Is it possbile using a single find command . Regards, Chirayu Sutaria (6 Replies)
Discussion started by: chirayus
6 Replies

2. SCO

How do you copy files from CD

How do you copy files fra a cd-rom to a directory on the computer? (2 Replies)
Discussion started by: Schnell
2 Replies

3. Shell Programming and Scripting

To copy everything except 2 files

Hi all, I would want to copy everything in a particular directory. However would want to exclude 2 files: DIMStemp01.dbf DIMSts01.dbf I tried to: (1) ls files except these 2 files into abc.txt (2) Read from abc.txt and start copying. It works, however is there any easier way? Eg.... (6 Replies)
Discussion started by: *Jess*
6 Replies

4. UNIX for Dummies Questions & Answers

copy only new files or files of a different size

hello i would like to copy files from 1 location to a nother, but it has only to copy files which are newer or have a different filesize. all has to be logged to a copy.log file (als skipped files should be in the log) is this possible with the cp command (1 Reply)
Discussion started by: arnoldg
1 Replies

5. UNIX and Linux Applications

Copy all files

how i can copy all files " select all " in one step t try command cp -t (2 Replies)
Discussion started by: walidfinder
2 Replies

6. UNIX for Dummies Questions & Answers

copy files

Hi Team, I am unable to copy the files, when i run the below script, i am getting error as file not present, not sure what i am missing. # File to be looked upon File_Pattern='*.zip' TMP_FILE=flagfile Check=`find $Directorypath -name $File_Pattern -type f -newer $TMP_FILE -print |... (6 Replies)
Discussion started by: Naveen_5960
6 Replies

7. Solaris

How to safely copy full filesystems with large files (10Gb files)

Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS. I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies

8. Shell Programming and Scripting

how to copy files followed by list of names of all the files in /etc?

....... (2 Replies)
Discussion started by: pcbuilder
2 Replies

9. Red Hat

Unable to copy files due to many files in directory

I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs.. even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies

10. UNIX for Dummies Questions & Answers

Copy files from one drive to another, keeping most recently modified files

Hi all, I am a bit of a beginner with shell scripting.. What I want to do is merge two drives, for example moving all data from X to Y. If a file in X doesn't exist in Y, it will be moved there. If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies
XGetErrorDatabaseText() 												   XGetErrorDatabaseText()

Name
  XGetErrorDatabaseText - obtain error messages from the error database.

Synopsis
  XGetErrorDatabaseText(display, name, message,
	    default_string, buffer_return, length)
	Display display;
	char *name, *message;
	char *default_string;
	char *buffer_return;
	int length;

Arguments
  display      Specifies a connection to an X server; returned from XOpenDisplay().

  name	       Specifies the name of the application.

  message      Specifies the type of the error message. One of XProtoError, XlibMessage, or XRequest (see the "Description" section below).

  default_string
	       Specifies the default error message.

  buffer_return
	       Returns the error description. You allocate this memory.

  length       Specifies the size of the return buffer.

Description
  XGetErrorDatabaseText()  returns  a  message from the error message database.  Given name and message as keys, XGetErrorDatabaseText() uses
  the resource manager to look up a string and returns it in the buffer argument.  Xlib uses this function internally to look  up  its	error
  messages.  On a UNIX-based system, the error message database is usually /usr/lib/X11/XErrorDB.

  The  name  argument should generally be the name of your application.  The message argument should indicate which type of error message you
  want.  If the name and message are not in the Host Portable Character Encoding, then the result is implementation-dependent.	Three  prede-
  fined message types are used by Xlib to report errors:

  XProtoError The protocol error number is used as a string for the message argument.

  XlibMessage These are the message strings that are used internally by Xlib.

  XRequest    For a core protocol request, the major request protocol number is used for the message argument.	For an extension request, the
	      extension name (as given by InitExtension) followed by a period (.) and the minor request protocol number is used for the  mes-
	      sage argument.

  If no string is found in the error database, XGetErrorDatabaseText() returns the default_string that you specify to the buffer.  The string
  in buffer will be of length length.  The default_string is assumed to be in the encoding of the current locale.  The buffer_return text  is
  in the encoding of the current locale.

See Also
  XDisplayName(), XGetErrorText(), XSetAfterFunction(), XSetErrorHandler(), XSetIOErrorHandler(), XSynchronize().

Xlib - Error Handling													   XGetErrorDatabaseText()
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy