Hello Team,
I need a script which can list all the files inside a sub directories in unix os. (The hierarchy goes this way directory-->sub-directories-->files). The files inside sub directories can sum upto 2000 (There may be "n" number of sub-directories with around 4-5 files inside each sub-directories). the files need to be listed to an excel sheet in the following format:
Column1 Column 2 column 3 .....
(Sub-directory name) (attachment 1) (attachment 2) ....
if there are 2 attachment in a sub-directory, then 1st attachment should be listed in a column and 2nd attachment in other column and so on. IE column increases with increase in attachment .
This is required because during issue export path to attachment's are is not specified in excel sheet. This need to be added manually and is really a hectic task.
Any help would be highly appreciated.
Thanks,
Akhil