07-24-2009
Hi Methyl
We already established that there's no spaces (I thought there was at first).
What we didn't establish is the OS.
Also, if we could see the code that created the files, we might be more enlightened?
Last edited by Scott; 07-24-2009 at 03:00 PM..
10 More Discussions You Might Find Interesting
1. HP-UX
Dear All
I am basic user of Unix.
i woul like to delete some files
(basically 05 and 0801111105) from unix directories but unable to delete it
I tried all option. rm , rm -f etc.. but not succeed.
Infact it also not allowing me to use chmod option so that i can grant 777 option to... (1 Reply)
Discussion started by: yogi_chavan
1 Replies
2. Shell Programming and Scripting
Hi ppl.
I have to check for duplicate files in a directory .
the directory has following files
/the/folder /containing/the/file
a1.yyyymmddhhmmss
a1.yyyyMMddhhmmss
b1.yyyymmddhhmmss
b2.yyyymmddhhmmss
c.yyyymmddhhmmss
d.yyyymmddhhmmss
d.yyyymmddhhmmss
where the date time stamp can be... (1 Reply)
Discussion started by: asinha63
1 Replies
3. UNIX for Dummies Questions & Answers
Hello
I'm new to this forum, so I did a quick scan of the FAQs to see if my problem had been addressed already, since I believe it is probably a very common need. I was surprised that I did not see anything obvious.
I need to remove all files from a directory that have a last modified date... (2 Replies)
Discussion started by: 2davidc8
2 Replies
4. UNIX for Advanced & Expert Users
Hi
I have a problem. One of the directories in /var, on one of my servers, has filled up with loads of files. I have tried to list the directory to see what is in it, but the 'ls' command just hangs. Same thing happens when I try to use 'rm' to remove files from that directory.
I can see what... (2 Replies)
Discussion started by: m_smith
2 Replies
5. Shell Programming and Scripting
Hi all,
I have the following question. Considder that in the directory /code the script remove.pl exists. What i want is to run this script and remove some files that exist in the directory /dir/tmp. I use the below code but it does not work.
system("cd /dir/code");
system("rm FileName");
... (6 Replies)
Discussion started by: chriss_58
6 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to remove several directories which contains sun-dirs and files inside.
I used the command rm -r <dirname>
But, it always ask "examine file in directory <dirname> yes/no?" line by line.
So, i need to write "y" for every line.
How can i skip this step and remove all directories with... (9 Replies)
Discussion started by: ppa108
9 Replies
7. Shell Programming and Scripting
Hi all.
Am doing continuous backup of mailboxes using rsync.
So whenever a new mail arrives it is automatically copied on backup server.
When a new mail arrives it is named as xyz:2, when it is read by the email client an S is appended xyz:2,S
Eventually , 2 copies of the same file exist on... (7 Replies)
Discussion started by: coolatt
7 Replies
8. Shell Programming and Scripting
Hi All,
i need to move two types of files from a directory.
I have used the below command to find the files from the directory..
SOURCE_DIR="some directory path"
TARGET_DIR="Target Dir"
Datestamp=Date_format
find $SOURCE_DIR \( -name "*.log" -o -name "*.out" ) - exec ls -1 {} \;
now i... (9 Replies)
Discussion started by: ch33ry
9 Replies
9. Shell Programming and Scripting
Assume I want to remove a whole directory tree beginning with /foo/bar/
The directory or sub-directories may contain files.
The top directory /foo/bar/ itself should not be deleted.
rm -f- r /foo/bar
does not work because it requires a directory tree without files.
How does it work... (3 Replies)
Discussion started by: pstein
3 Replies
10. Shell Programming and Scripting
how to remove empty files tried below command its remove only zero bytes not empty file which is greater then zero byte.
for x in *
do
if
then
rm $x
fi
done (8 Replies)
Discussion started by: Kalia
8 Replies
LEARN ABOUT HPUX
xhpseterrorhandler
XHPSetErrorHandler(3X) XHPSetErrorHandler(3X)
NAME
XHPSetErrorHandler - Register an X error handling routine.
SYNOPSIS
#include <X11/XHPlib.h>
typedef int (*PFI) ();
PFI XHPSetErrorHandler (display, routine)
Display *display;
int (*routine) ();
int routine (display, error)
Display *display;
XErrorEvent *error;
DESCRIPTION
This request registers with Xlib the address of a routine to handle X errors. It is intended to be used by libraries and drivers that wish
to establish an error handling routine without interfering with any error handling routine that may have been established by the client
program.
XHPSetErrorHandler records one error handling routine per connection to the server. Therefore, in order for a library or driver to set up
its own error handling routine without affecting that of the client, the library or driver must first have established its own connection
to the server via XOpenDisplay.
When an XErrorEvent is received by the client, which error handling routine is invoked is determined by the display associated with the
error. If the display matches that associated with a driver error handling routine, that error handling routine will be invoked. If it
does not match any driver routine, the error handling routine established by the client, if any exists, will be invoked. Otherwise, the
default Xlib error handler will be invoked.
XHPSetErrorHandler returns the address of the previously established error handler. If that error handler was the default error handler,
NULL is returned.
A driver or library may remove its error handler by invoking XHPSetErrorHandler with a NULL error handling routine.
FILES
/usr/include/X11/XHPlib.h
ORIGIN
Hewlett-Packard Company
SEE ALSO
XSetErrorHandler(3x)
X Version 11 Release 5 XHPSetErrorHandler(3X)