On Sun, 11 Sep 2005 20:21:40 +0300, Rem P Roberti <[EMAIL PROTECTED]>
wrote:
How does one go about deleting directories and their contents? RMDIR
will
only delete empty directories.
Thanks,
Rem
___
freebsd-questions@freebsd.org mailin
On Sun, 11 Sep 2005, Rem P Roberti wrote:
How does one go about deleting directories and their contents? RMDIR
will only delete empty directories.
rm -rf directory works for me.
--
Chris Hill [EMAIL PROTECTED]
** [ Busy Expunging
On Sunday 11 September 2005 09:21 am, Rem P Roberti wrote:
> How does one go about deleting directories and their contents? RMDIR will
> only delete empty directories.
>
Try:
rm -R /path/to/d
On Sun, 2005-09-11 at 18:21, Rem P Roberti wrote:
> How does one go about deleting directories and their contents? RMDIR will
> only delete empty directories.
>
> Thanks,
>
> Rem
Try man rm
Rob
___
freebsd-questions@freebsd.org
Rem P Roberti <[EMAIL PROTECTED]> wrote:
> How does one go about deleting directories and their contents? RMDIR will
> only delete empty directories.
rm -r directory
Fabian
--
http://www.fabiankeil.de/
pgpYmxUJAXhHM.pgp
Description: PGP signature
How does one go about deleting directories and their contents? RMDIR will
only delete empty directories.
Thanks,
Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any
I've written a command line utility to deal with this type of thing.
It's called duc. You can get it at:
http://ed.lexingrad.net/duc/
duc takes out unprintables, extended ascii set chars, spaces and
punctuations, with options to allow you to take out some while leaving
others. Also there is a test
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 -delete
> does not delete. It does have a dot as the first character, with
> some other non-printing charact
Hi Parv,
It looks like another directory structure has appeared
in the ftp directory that Lynx does not "see" and that
find . -inum -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 wit
in message <[EMAIL PROTECTED]>,
wrote Walter thusly...
>
I apologize for the late reply.
> Parv wrote:
>
> > # find . \( -inum -o -inum \) -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)
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. Yo
Parv wrote:
in message <[EMAIL PROTECTED]>,
wrote Parv thusly...
# find . \( -inum -o -inum \) -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 -o -inum \) -print0 \
# | xargs -0 rm -rfv
- Par
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
charac
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:
%
in message <[EMAIL PROTECTED]>,
wrote Parv thusly...
>
> # find . \( -inum -o -inum \) -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 -o -inum \) -print0 \
# | xargs -0 rm -rfv
- 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 an
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
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 sys
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 fi
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 i
can't traverse 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
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 tried
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 '
>
> 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 -d
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 -delete' but while
25 matches
Mail list logo