cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

416
Views
0
Helpful
2
Replies
Highlighted
Beginner
Beginner

3560X commands doesn't work

Can someone help me on whey the below commands doesnt work

xxx#

xxx#del flash:c3560e-universalk9-mz.122-53.SE2

Delete filename [c3560e-universalk9-mz.122-53.SE2]?

Delete flash:c3560e-universalk9-mz.122-53.SE2? [confirm]

%Error deleting flash:c3560e-universalk9-mz.122-53.SE2 (Is a directory)

xxx#Delete /force/recursive flash:c3560e-universalk9-mz.122-53.SE2

                      ^

% Invalid input detected at '^' marker.

 

xxx#Delete /force/recursive flash:/c3560e-universalk9-mz.122-53.SE2

                      ^

% Invalid input detected at '^' marker.

 

xxx#rmdir flash:c3560e-universalk9-mz.122-53.SE2

Remove directory filename [c3560e-universalk9-mz.122-53.SE2]?

Delete flash:c3560e-universalk9-mz.122-53.SE2? [confirm]

%Error Removing dir flash:c3560e-universalk9-mz.122-53.SE2 (Directory not empty)

xxx#

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Engager

hi,

you'll need to delete individual files first under the c3560e-universalk9-mz.122-53.SE2 directory before deleting the directory itself.

 

dir flash:/c3560e-universalk9-mz.122-53.SE2     <<< LIST FILES

delete flash:/c3560e-universalk9-mz.122-53.SE2/FILE-1     <<< DELETE FILES

delete flash:/c3560e-universalk9-mz.122-53.SE2     <<< DELETE DIRECTORY

View solution in original post

2 REPLIES 2
Highlighted
Engager

hi,

you'll need to delete individual files first under the c3560e-universalk9-mz.122-53.SE2 directory before deleting the directory itself.

 

dir flash:/c3560e-universalk9-mz.122-53.SE2     <<< LIST FILES

delete flash:/c3560e-universalk9-mz.122-53.SE2/FILE-1     <<< DELETE FILES

delete flash:/c3560e-universalk9-mz.122-53.SE2     <<< DELETE DIRECTORY

View solution in original post

Highlighted

This helps! Thanks a lot!

Content for Community-Ad