thank you all for all of your input.  a special thanks goes out to mr greene
who suggested the ctrl-v, ctrl-m idea.  that's what finally worked.

find . -name Icon[ctrl-v][ctrl-m] -print0 | xargs -0 rm -rf

that's what finally got it done.
i've saved that line, together with a few others like it in a file called
"applekill" :) that will rid my system of mac stuff.  a note to anyone who
might try the same thing though:  editing this file fron something other
than vi can have negative results.  the ^M is often converted to
a new line :)


_________________________________
daniel a. g. quinn
starving programmer

the great only appear great because we are on our knees
 - james connolly



----- Original Message -----
Sent: Thursday, June 20, 2002 9:29 AM
Subject: re: removing "Icon?" [not entirely solved]


| so the following comand works
|
| find /home/ -name 'Icon^M'       (where "^M" is one character)
|
| but when i try to add "-print0" at the end of it, no results are returned.
| this is what i'm trying to write:
|
| find /home/ -name 'Icon^M' -print0 | xargs -0 rm -rf
|
| but i can't exactly split the return values on a null byte if there are no
| returned values.
|
| any ideas?
|
| ----- Original Message -----
| Sent: Thursday, June 20, 2002 9:22 AM
| Subject: Re: removing "Icon?"
|
|
| | it worked!
| | thanks a lot
| |
| | _________________________________
| | daniel a. g. quinn
| | starving programmer
| |
| | truly 'the humble is the stem upon which the mighty grows,
| | the low is the foundation upon which the high is laid...
| |   - lau tzu, "tao te ching: chapter xxxix"
| |
| | ----- Original Message -----
| | From: "Anthony E. Greene" <[EMAIL PROTECTED]>
| | To: <[EMAIL PROTECTED]>
| | Sent: Tuesday, June 18, 2002 9:02 PM
| | Subject: Re: removing "Icon?"
| |
| |
| | | -----BEGIN PGP SIGNED MESSAGE-----
| | | Hash: SHA1
| | |
| | | On 19-Jun-2002/15:37 -0700, daniel <[EMAIL PROTECTED]> wrote:
| | | >a mac user has connected to my box and uploaded a file called "Icon?"
| | | >(including the "?").  how do i remove it?  the following command
| doesn't
| | | >work:
| | | >
| | | >rm -f Icon\?
| | | >
| | | >typing "rm -f Ic<tab>" will work but retyping the text that appears
| | doesn't
| | | >
| | | >rm -f Icon^M
| | | >
| | | >also, when i use the <tab> trick, as root, it asks me if "i really
want
| | to
| | | >delete Icon\r", but typing that doesn't work either:
| | | >
| | | >rm -f Icon\r
| | |
| | | The tab-completion method is best for a single file. It's fast, easy,
| and
| | | effective as log as there's only one file.
| | |
| | | If you know the name has a carriage return, you can type that using
| | |
| | |   rm Icon[Ctrl-V][Ctrl-M]
| | |
| | | The [Ctrl-V] sequence tells the shell that the next sequence is not to
| be
| | | interpreted, but is to be represented literally.
| | |
| | |
| | | Tony
| | | - --
| | | Anthony E. Greene <mailto:[EMAIL PROTECTED]>
| | | OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94
| 239D
| | | AOL/Yahoo Chat: TonyG05         HomePage:
| <http://www.pobox.com/~agreene/>
| | | Linux. The choice of a GNU generation <http://www.linux.org/>
| | |
| | | -----BEGIN PGP SIGNATURE-----
| | | Version: GnuPG v1.0.6 (GNU/Linux)
| | | Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D
| | |
| | | iD8DBQE9EAJKpCpg3WyUI50RAvPCAKCUeOc+dYEb50F8877EJHYCCY07OQCg8oq6
| | | TND8zJEMbiVN4Td8+EazxkA=
| | | =culM
| | | -----END PGP SIGNATURE-----
| | |
| | |
| | |
| | | _______________________________________________
| | | Redhat-list mailing list
| | | [EMAIL PROTECTED]
| | | https://listman.redhat.com/mailman/listinfo/redhat-list
| | |
| |
| |
| |
| | _______________________________________________
| | Redhat-list mailing list
| | [EMAIL PROTECTED]
| | https://listman.redhat.com/mailman/listinfo/redhat-list
| |
|
|
|
| _______________________________________________
| Redhat-list mailing list
| [EMAIL PROTECTED]
| https://listman.redhat.com/mailman/listinfo/redhat-list
|



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to