bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Directory


From: Eric Blake
Subject: Re: Problem with Directory
Date: Wed, 18 Feb 2009 18:25:54 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Sultan Haque on 2/18/2009 1:45 PM:

Hello Sultan,

> Hi, i named a directory a.out and put a copy file named HelloWorld.c in it.
> Well now i am trying to delete the a.out directory by typing rmdir a.out but
> it is telling me to empty directory. I am having a hard time emptying the
> a.out directory. Please could you help me with this.

You have two options.  One is removing the contents of a.out manually
(moving them somewhere else, or deleting them), prior to removing the
directory:

$ rm a.out/*
$ rmdir a.out

The other is to do it in one shot:

$ rm -R a.out

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmctSIACgkQ84KuGfSFAYB75gCeLNSA21HtRxu6blaD2d7Ac0iu
9lYAoMuZvetVf6jWlXvX2YJmUtiLi6ig
=fwMN
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]