RE: [Asterisk-Users] OT help with rmdir pls

2005-01-09 Thread Adam Goryachev
On Sun, 2005-01-09 at 00:12 +, 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 [EMAIL PROTECTED]
Fax: +61 2 9345 4396www.websitemanagers.com.au

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] OT help with rmdir pls

2005-01-08 Thread John Middleton
I am tying to clear down an asterisk source directory before CVS'ing a
new version
the --ignore... option is being used but its still not being deleted,
can anyone give me some clues.

Sorry I'm new to Linux, as if you havent guessed. Googling hasnt helped so far

Thanks
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT help with rmdir pls

2005-01-08 Thread Rich Adamson

 I am tying to clear down an asterisk source directory before CVS'ing a
 new version
 the --ignore... option is being used but its still not being deleted,
 can anyone give me some clues.
 
 Sorry I'm new to Linux, as if you havent guessed. Googling hasnt helped so far

The easiest way (leaving a backup) is to:
 cd /usr/src
 mv asterisk asterisk-Jan2
 mv libpri libpri-Jan2
 mv zaptel zaptel-Jan2
and then do a complete new checkout. If you don't like the new checkout
for whatever reason, then restoring the original source is nothing more
then reversing the above steps.

(Note: if you restore the source noted above, you may have to remove the
modules that were installed in /usr/lib/asterisk/modules as well.)


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] OT help with rmdir pls

2005-01-08 Thread Bill Seddon
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

Bill Seddon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Middleton
Sent: January 08, 2005 11:52 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] OT help with rmdir pls

I am tying to clear down an asterisk source directory before CVS'ing a
new version
the --ignore... option is being used but its still not being deleted,
can anyone give me some clues.

Sorry I'm new to Linux, as if you havent guessed. Googling hasnt helped so
far

Thanks
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT help with rmdir pls

2005-01-08 Thread Phil Quinney
Hi John,
On 8 Jan 2005, at 23:51, John Middleton wrote:
I am tying to clear down an asterisk source directory before CVS'ing a
new version
the --ignore... option is being used but its still not being deleted,
can anyone give me some clues.
When I check out a new CVS version, I move my /usr/src/asterisk /  
zaptel / libpri into /usr/src/backup-dd-mm-yy/asterisk etc

This way I have a backup in case it doesn't compile, and a fresh  
checkout.


Sorry I'm new to Linux, as if you havent guessed. Googling hasnt  
helped so far

Thanks
Hope this helps,
Phil.
 
--
Phil Quinney
IT Consultant - Any-Ideas

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users