I have below folder structure
Now I have a simple pagedriven script , which expect a directory and it will list the files present under that directory in kind of below format ; let's say for folder ./summit/adjustment/ap
and then it will get the file name and do different actions.
Now my question, how to update this script for more maintainbility ? as below
like if I will give folder summit as input then it diginto that folder and check whether folders and/or files exist and then it list boths.
if underneath are folders, then it will display folder names as below
if underneath are files then it straight jumps or call my little script....
if I hit enter 1
then
now if I enter 4
then
now if I enter 2 , it should call my pagination script for files as underneath ap there are no folders exist
(if ap have other folders then it should recursively get into that one, till the files section reached)
can anyone help me out?
Hi,
Please help me out with this new enhancment with this shell script which i have written below.
********************************************************
#!/bin/ksh
#File contains Only New Records that sent in the Current Load
export ORACLE_BASE=/oracle
export... (18 Replies)
Hi..
when i delete a Lun from a Array on a SAN, and again when i create a Lun it shows that the newly created Lun has the ID of the Old deleted Lun which is leading to data corruption. All this is handled by the Multipath software. can anybody help. (0 Replies)
We are searching for DEVICE MAPPER TABLE FORMAT and how to access it through user space??
We are working on enhancement in multipatrhing as 1] scalable path testing 2] event mechanism 3] i/o load sharing.
So we need to access device info as well as all paths to that device, devices status,paths... (1 Reply)