01-18-2012 07:44 AM
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?
01-18-2012 07:58 AM
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
01-18-2012 09:48 AM
Yes, it helps a lot. Thanks very much.
Jim Robinson
Verizon Business
Government Enterprise NOC (GENOC)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: