#!/bin/bash image_list=$(ls *.png) for imag in ${image_list} do if test -f $imag then xxd -i ${imag} >> test.h fi done
参考:http://www.cnblogs.com/killkill/archive/2010/06/23/1763785.html
2022-09-23 11:05:21
#!/bin/bash image_list=$(ls *.png) for imag in ${image_list} do if test -f $imag then xxd -i ${imag} >> test.h fi done
参考:http://www.cnblogs.com/killkill/archive/2010/06/23/1763785.html