[Asterisk-Users] OT help with rmdir pls
Adam Goryachev
mailinglists at websitemanagers.com.au
Sun Jan 9 22:18:46 MST 2005
On Sun, 2005-01-09 at 00:12 +0000, Bill Seddon wrote:
> rmdir will only remove empty folders and --ignore just prevents error
> messages being displayed.
>
> Run the command: rm -rf *
>
> in the asterisk root folder and then execute rmdir
Firstly, this won't work, since there are a couple of . files in there
(.version for example)
Secondly, that isn't the sort of command to provide to a newbie lightly.
You might try this if you don't like the other options to mv the
directory to a different name:
rm -rvf /usr/src/asterisk
rm is to delete a file
r = recursively delete all files and folders that it finds
v = verbose so it will tell you what it is doing (CTRL-C if you realise
you have made a mistake to stop it!)
f = force (ie, don't ask for confirmation on every single
file/directory)
Use "man rm" and "man rmdir" for more information.
Regards,
Adam
--
--
Adam Goryachev
Website Managers
Ph: +61 2 8304 0000 adam at websitemanagers.com.au
Fax: +61 2 9345 4396 www.websitemanagers.com.au
More information about the asterisk-users
mailing list