Cisco Issue

Hi,

Can delete command use wildcards?

Tks.

Lucky
Lucky ThamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sajid Shaik MSr. System AdminCommented:
what you want to achieve ? please clarify... thanks
0
DP230Network AdministratorCommented:
you can delete commands begin keyword "no"
0
Lucky ThamAuthor Commented:
hi,

tired delete single file is ok but delete with error. see attachment.
#delete flash:sigdef*
#delete sigdef*

tks.


Screenshot_1.png
0
Become a Leader in Data Analytics

Gain the power to turn raw data into better business decisions and outcomes in your industry. Transform your career future by earning your MS in Data Analytics. WGU’s MSDA program curriculum features IT certifications from Oracle and SAS.  

Lucky ThamAuthor Commented:
hi,

i've tried by typing but still with error.

#delete *sigdef*
#delete flash:*sigdef*
0
Lucky ThamAuthor Commented:
hi,

can cisco ios or packet tracer support wildcard to delete based on pattern instead of deleting individual files?

tks.
0
JustInCaseCommented:
You are trying to delete in Packet tracer, not sure if it will work there, but in IOS it should work, but it will ask conformation for each file to be deleted (enter is enough to delete file)..

C892#show flash:
***
41    55537444 Mar 18 2018 10:10:50 +02:00 c890-universalk9-mz.154-3.M8.bin
42        5512 Mar 18 2018 10:29:18 +02:00 C892--Mar-18-08-29-18.927-0
43        5502 Mar 18 2018 10:45:54 +02:00 C892--Mar-18-08-45-55.457-1
44        5744 Mar 29 2018 22:42:20 +02:00 C892--Mar-29-20-42-21.053-0
45        5657 Apr 9 2018 15:14:48 +02:00 C892--Apr--9-13-14-47.901-0
46        5790 Apr 9 2018 15:47:04 +02:00 C892--Apr--9-13-47-03.871-1
47        6219 Apr 9 2018 17:24:56 +02:00 C892--Apr--9-15-24-56.800-2
48        6252 Apr 17 2018 19:24:06 +02:00 C892--Apr-17-17-24-05.908-0
49        6261 May 2 2018 06:30:04 +02:00 C892--May--2-04-30-04.069-0
50        6165 May 2 2018 06:39:52 +02:00 C892--May--2-04-39-53.566-0
***
103075840 bytes available (153534464 bytes used)

C892#delete flash:C892--Mar*
Delete filename [C892--Mar*]?
Delete flash:/C892--Mar-18-08-29-18.927-0? [confirm]
Delete flash:/C892--Mar-18-08-45-55.457-1? [confirm]
Delete flash:/C892--Mar-29-20-42-21.053-0? [confirm]
C892#
***
41    55537444 Mar 18 2018 10:10:50 +02:00 c890-universalk9-mz.154-3.M8.bin
45        5657 Apr 9 2018 15:14:48 +02:00 C892--Apr--9-13-14-47.901-0
46        5790 Apr 9 2018 15:47:04 +02:00 C892--Apr--9-13-47-03.871-1
47        6219 Apr 9 2018 17:24:56 +02:00 C892--Apr--9-15-24-56.800-2
48        6252 Apr 17 2018 19:24:06 +02:00 C892--Apr-17-17-24-05.908-0
49        6261 May 2 2018 06:30:04 +02:00 C892--May--2-04-30-04.069-0
50        6165 May 2 2018 06:39:52 +02:00 C892--May--2-04-39-53.566-0
***

Open in new window

Interesting, I did not notice so far that when files are deleted numbering of files in the second output stays the same.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lucky ThamAuthor Commented:
Thanks!
0
JustInCaseCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.