Re: deleting directories with ??? in name

2004-04-09 Thread Walter
Hi Parv, It looks like another directory structure has appeared in the ftp directory that Lynx does not see and that find . -inum inode -delete does not delete. It does have a dot as the first character, with some other non-printing characters, but no /. I haven't yet tried to delete it

Re: deleting directories with ??? in name

2004-04-09 Thread Parv
in message [EMAIL PROTECTED], wrote Walter thusly... It looks like another directory structure has appeared in the ftp directory that Lynx does not see and that find . -inum inode -delete does not delete. It does have a dot as the first character, with some other non-printing characters,

Re: deleting directories with ??? in name

2004-03-19 Thread Parv
in message [EMAIL PROTECTED], wrote Walter thusly... I apologize for the late reply. Parv wrote: # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -rfv Thanks, but when I did: ls -i and then typed in the inode in the command (saved in an old List e-mail):

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 07:07:46PM -0800, Chris Pressey wrote: That wouldn't explain why 'rm -i *' returned 'no match', though. Just to eliminate the obvious: did these weird filenames begin with a '.'? Shell globbing treats file names with a leading period specially. You'ld have to do: %

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Walter
Chris Pressey wrote: Walter, out of curiousity, what FTP server were you running, and (if you remember) what was the exact output of ls -aB ? I'm running, at the moment, the default ftpd in FBSD 4.6.2. (Yeah, I know, it's way old.) I don't remember the exact output, but contained mostly odd

Re: deleting directories with ??? in name

2004-03-16 Thread Walter
Parv wrote: in message [EMAIL PROTECTED], wrote Parv thusly... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -fv Oh, don't forget the '-r', for recursion, option for rm(1) as i did. Use this instead... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ #

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Walter
Matthew Seaman wrote: On Mon, Mar 15, 2004 at 07:07:46PM -0800, Chris Pressey wrote: That wouldn't explain why 'rm -i *' returned 'no match', though. Just to eliminate the obvious: did these weird filenames begin with a '.'? Shell globbing treats file names with a leading period specially.

RE: deleting directories with ??? in name

2004-03-15 Thread Derrick Ryalls
I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I tried 'rm -i -- ?*' but it didn't find the files. I tried 'find . -inum 146

Re: deleting directories with ??? in name

2004-03-15 Thread Erik Trulsson
On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote: I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I tried 'rm -i --

Re: deleting directories with ??? in name

2004-03-15 Thread Walter
Erik Trulsson wrote: On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote: I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I

[Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Walter
and delete normally? (Sigh.) Original Message Subject: Re: deleting directories with ??? in name Erik Trulsson wrote: On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote: I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Walter wrote: I managed to delete the files by recreating the directory. Ah, you have the hacker nature, then. That is probably a Good Thing(TM) ... I was going to suggest $cp * ../otherdir/ $cd .. rmdir thatdir $mv otherdir thatdir :-) Not to seem ungrateful, but isn't it a Bad Thing that it

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Lowell Gilbert
Walter [EMAIL PROTECTED] writes: I managed to delete the files by recreating the directory. Not to seem ungrateful, but isn't it a Bad Thing that it is not straightforeward to delete any file on the system (as root, and thwarted merely because of the characters in the name of the

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Chris Pressey
On 15 Mar 2004 20:26:12 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: Walter [EMAIL PROTECTED] writes: I managed to delete the files by recreating the directory. Not to seem ungrateful, but isn't it a Bad Thing that it is not straightforeward to delete any file on the system (as

Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-15 Thread Bill Campbell
On Mon, Mar 15, 2004, Chris Pressey wrote: On 15 Mar 2004 20:26:12 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: ... That wouldn't explain why 'rm -i *' returned 'no match', though. I think it's more likely that (for whatever reason) the FTP server is allowing files to be created with extremely

Re: deleting directories with ??? in name

2004-03-15 Thread Parv
in message [EMAIL PROTECTED], wrote Walter thusly... Erik Trulsson wrote: ls(1) by default displays all unprintable characters as question marks. To see what the filenames actually are use 'ls -aB'. To delete files with strange names you can always do a 'rm -i *' and answer 'y' only

Re: deleting directories with ??? in name

2004-03-15 Thread Parv
in message [EMAIL PROTECTED], wrote Parv thusly... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -fv Oh, don't forget the '-r', for recursion, option for rm(1) as i did. Use this instead... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs