Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rm code.html
- touch code.html
- echo "" > code.html
- ls *.zip > flist #change the zip here for the extention you want to generate
- ls *.zip > nlist #change the zip here for the extention you want to generate
- touch partlist
- sed -i -e 's/^/<tr><td><b><font face="Palatino Linotype" size="1" color="#FFFFFF"><span style="font-size: 7pt"><font size="1"<spanstyle="font-size: 9pt"><input class="chk" type="checkbox" name="roms[]" value="/' flist
- sed -i -e 's#$#"/></span></font></span></font></b><font face="Palatino Linotype" style="font-size: 9pt">#' flist
- sed -i 's/....$//' nlist
- paste -d "" flist nlist > partlist
- sed -i -e 's#$#</font></td><br></tr>#' partlist
- rm nlist
- rm flist
- mv partlist code.html
- sed -i '1i <!-- ROM DATA START -->' code.html
- echo '<!-- ROM DATA END -->' >> code.html
Add Comment
Please, Sign In to add comment