Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CIFS Script

Here are the first lines of output from a Cisco script that finds files in the cifs folder:

KQPGXTF#script execute cifsdir-new.sh

Directory: drwxrwxrwx 4 admin root 4096 Dec 30 17:34 /obj1/data/cifs/

ls: drwxrwxrwx: No such file or directory

ls: 4: No such file or directory

ls: admin: No such file or directory

ls: root: No such file or directory

ls: 4096: No such file or directory

ls: Dec: No such file or directory

ls: 30: No such file or directory

ls: 17:34: No such file or directory

/obj1/data/cifs/:

total 16

drwxrwxrwx    4 admin    root         4096 Dec 30 17:34 .

drwxrwxrwx    4 admin    root         4096 Dec 29 16:55 ..

drwxrwxrwx    3 admin    root         4096 Dec 30 17:34 eagnmnsg55a.usps.gov

drwxrwxrwx    3 admin    root         4096 Dec 29 16:55 rlghncsxd28.devsub.dev.v

I am unable to drill down manually using cd or ls commands from the local1 directory.    Are the directories above hidden?

2 REPLIES
Cisco Employee

CIFS Script

Hello,

  You can use script in below format.

script execute cifsdir-new.sh eagnmnsg55a.usps.gov

This will show you the content on this folder. you can then drill down like

script execute cifsdir-new.sh eagnmnsg55a.usps.gov/folder1/folder2

Hope this helps

Ahsan

New Member

Re: CIFS Script

Yes, it helps a lot. Thanks very much.

Jim Robinson

Verizon Business

Government Enterprise NOC (GENOC)

355
Views
0
Helpful
2
Replies