Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bulk delete announcements 1

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,894
NL
Anyone have a clever way of deleting announcements (from a G450) in bulk? I hate to do it 1 by 1 in ASA, there must be a smarter way.

 
I've used WinSCP to connect to a G450 to delete and add announcements easily. When you connect I think it will put you in the /annc directory so it should be simple.
 
This can be done via FTP.

In CM:
enable filex
login
password
secure = n

From a DOS prompt
c:\ftp 10.1.2.3

To show file structure.
dir
or
ls

To remove a file
delete filename.wav
If the file name has a space in it.
delete "file name.wav"

You can stack your delete commands and paste them all at once like this:
delete "test1.wav"
delete "test2.wav"
delete "test3.wav"
delete "test4.wav"

in CM:
disable filex board X
 
Command: list directory /annc board 3v9
Command: erase announcements 3v9
Command: remove file board 3v9 /annc/5816.wav



A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

45 years Bell, AT&T, Lucent, Avaya
Tier 3 for 35 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Thanks all.
Above related to the actual wav files, I am aware they can be accessed via FTP.
But how would delete the actual announcement (extension) from CM, without doing one by one ?

 
In ASA you can use the Import tool to remove announcements.
 
Hmm, nice one. Didn't think of that. Will try this out - have a star :)
 
That worked a charm - thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top