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
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
> 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 farThe 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.)
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: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] 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