09-18-2013 05:15 AM - edited 03-07-2019 03:32 PM
Hi all
Im want to create a crib sheet for flash commands for IOS handling, has anyone got a list of the main commands used and what they do, for example
1.creating directorys , moving files , viewing whats in a directory, deleting a directory and files inside it, formatting flash, installing an archive flash file, renaming etc etc
help much appreciated
cheers
Carl
09-18-2013 03:52 PM
viewing whats in a directory
dir flash:
deleting a directory and files inside it
delete /force /recursive flash:
formatting flash
format flash:
installing an archive flash file
archive download-sw
renaming
rename flash:original.filename flash:new.filename
creating directorys , moving files
Not supported.
09-18-2013 10:23 PM
Create directory:
mkdir flash:/
As Leo pointed out, I do not believe you can move files.
Sent from Cisco Technical Support Android App
09-19-2013 02:36 AM
Hi.
To move files between directory you need first to copy them to the desired directory and them from the original position.
dir flash:
Directory of flash:/
1 -rw- 66562172 Mar 29 2012 13:27:48 +02:00 c2800nm-adventerprisek9-mz.151-3.T3.bin
2 -rw- 4832344 Mar 29 2012 14:20:54 +02:00 anyconnect-macosx-i386-2.4.1012-k9.pkg
3 -rw- 3203909 Mar 29 2012 14:21:36 +02:00 anyconnect-win-2.4.1012-k9.pkg
4 -rw- 5209423 Mar 29 2012 14:22:42 +02:00 anyconnect-linux-2.4.1012-k9.pkg
Router#mkdir newdir
Create directory filename [newdir]?
Created dir flash:newdir
Router#copy flash:anyconnect-macosx-i386-2.4.1012-k9.pkg flash:newdir/
Destination filename [/newdir/anyconnect-macosx-i386-2.4.1012-k9.pkg]?
Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
4832344 bytes copied in 16.860 secs (286616 bytes/sec)
Router#dir newdir
Directory of flash:/newdir/
100 -rw- 4832344 Sep 19 2013 11:34:12 +02:00 anyconnect-macosx-i386-2.4.1012-k9.pkg
Router#delete /force flash:anyconnect-macosx-i386-2.4.1012-k9.pkg
You can also change directory by issuing cd dirname and check in which directory are you looking in:
Router#cd newdir
Router#pwd
flash:/newdir/
HTH
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide