Using shell scripting, implement �scan.sh' that scans the file system recursively starting
from current working directory and generates the file �index.txt' that contains a line for each
file (or directory) with following fields in tab separated format:
- The full path of the directory containing the file (or the directory).
- The file (or directory) name
- The last modified date and time.
- �d/f' field which is �d' if the file is a directory and �f' otherwise.
I have used ls -lR command and piped the output to index.txt but this output shows the read write permissions of files and directories which i dont want . only the above mentioned four fields are required
PLEASE HELP ME
THANKS IN ADVANCE !!!!!