Script to generate a html file with link to all files in directory
ls -1 |awk -F”.” '{print ”” ;}’ > index1.html
And if you want to do it recursively
ls -1R |awk -F”.” '{print ”” ;}’ > index1.html
Related Articles:
- 2009/09/17 top command with rc to make it more useful and beautiful.
- 2009/09/17 Diff Linux command — Find the difference in files the easier way.
- 2009/08/12 Consider your account to be for you then use Linux
- 2009/07/20 bash tutorial for begineer and experienced.
- 2009/02/15 MinGW – compile windows software on Linux
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.