Re: Delete a folder although its not empty

2008-04-08 Thread Lothar Braun

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Ruel Luchavez wrote:
| Do you also know the command for viewing the used space of a certain
| directory?
| Is their other command aside from "df" ?

have a look at du(1). This is the utility you are looking for.

Regards,
~  Lothar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf7QfkACgkQOlpYSeF9JmY24gCfYwnqlMAgSvEWlHnL/hpB0WSP
wlIAoMwDm5N3AtYF8L+BltWNbP7u+eae
=2ji6
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Delete a folder although its not empty

2008-04-08 Thread Lothar Braun

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ruel Luchavez wrote:
| Hello...
|
| I'm tired of deleting a directory or folder in a server using "rm" and
| "rmdir" but before deleting a directory using "rmdir" the folder must be
| empty..what should i do or what command should be use in Free BSD to
delete
| a folder in a directory even if its not empty without affecting the
| folder in the same directory?

If you want to delete a non-empty folder, you have to use the recursive
option (see rm(1))

rm -r folder-name

should do the job.

Regards,
~  Lothar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf7PjsACgkQOlpYSeF9JmYkOwCg0DagRl9s0L656fBnlNiDt+Np
/GkAn1UAIgLLZr+wdu5dW7qxdjJ2nOUv
=m15J
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Delete a folder although its not empty

2008-04-08 Thread Ruel Luchavez
Hello

Do you also know the command for viewing the used space of a certain
directory?
Is their other command aside from "df" ?

Thanks...


On Tue, Apr 8, 2008 at 5:40 PM, Leslie Jensen <[EMAIL PROTECTED]> wrote:

>
> Ruel Luchavez skrev:
>
>  Hello...
> >
> > I'm tired of deleting a directory or folder in a server using "rm" and
> > "rmdir" but before deleting a directory using "rmdir" the folder must be
> > empty..what should i do or what command should be use in Free BSD to
> > delete
> > a folder in a directory even if its not empty without affecting the
> > folder in the same directory?
> >
> > Please.thanx
> >
>
> rm -r
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Delete a folder although its not empty

2008-04-08 Thread Wojciech Puchar


I'm tired of deleting a directory or folder in a server using "rm" and
"rmdir" but before deleting a directory using "rmdir" the folder must be
empty..what should i do or what command should be use in Free BSD to delete
a folder in a directory even if its not empty without affecting the
folder in the same directory?


rm -rf dirname


Please.thanx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Delete a folder although its not empty

2008-04-08 Thread Leslie Jensen


Ruel Luchavez skrev:

Hello...

I'm tired of deleting a directory or folder in a server using "rm" and
"rmdir" but before deleting a directory using "rmdir" the folder must be
empty..what should i do or what command should be use in Free BSD to delete
a folder in a directory even if its not empty without affecting the
folder in the same directory?

Please.thanx


rm -r
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Delete a folder although its not empty

2008-04-08 Thread Ruel Luchavez
Hello...

I'm tired of deleting a directory or folder in a server using "rm" and
"rmdir" but before deleting a directory using "rmdir" the folder must be
empty..what should i do or what command should be use in Free BSD to delete
a folder in a directory even if its not empty without affecting the
folder in the same directory?

Please.thanx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"