Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

find 'ing files

0 views
Skip to first unread message

Ken Abrahamsen

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
Hello !
I have a database which creates files AND directories with the following
naming convention:

&&S.<username>.<number>
(For example...
drwxrwsr-x 2 jawebb cispub 512 Oct 13 1998 &&S.jawebb.119
-rw-rw-rw- 1 jawebb cispub 54 Mar 30 17:18 &&S.jawebb.12

Under AIX 4.3.2, I'm trying to use a find (and eventually 'rm' to
automatically remove these *many* files) to automate the deletion of these
files with a cron job / script.

I have tried (with the corresponding error message):

# find . -name '&&S.'* -print
SH: /bin/find: 0403-027 The parameter list is too long.

Basically, I'd like to delete any / all of these as long as the
file/directory begins with the 4 characters '&&S.' but was hoping someone
could provide a good way of deleting these files without getting a parameter
list too long error message.

Any help / suggestions would be appreciated.
ken

0 new messages