icon file cleanup
Posted by dxli on Oct 01, 2012; 11:44pm
URL: https://forum.librecad.org/icon-file-cleanup-tp5707076.html
a bash script to find all identical png files within LC source:
for png in $(find . -type f -name "*.png");do md5sum $png;done|sort -k 1 | uniq -w32 --all-repeated=separate
Identical png file located (md5sum and file name)
04d5834622abbcd9e9b27984827ca244 ./librecad/res/extui/dlgrotate2.png
04d5834622abbcd9e9b27984827ca244 ./librecad/res/extui/modifyrotate2.png
157a06fbe3b93da48dca4ce2319336c9 ./librecad/res/extui/dlgmove.png
157a06fbe3b93da48dca4ce2319336c9 ./librecad/res/extui/modifymove.png
1600cf4ff5c13b3395f97e83434284ee ./librecad/res/ui/blockremove.png
1600cf4ff5c13b3395f97e83434284ee ./librecad/res/ui/layerremove.png
1c153626b29f199f87b4f975f36c7242 ./librecad/res/extui/dlgmodifymoverotate.png
1c153626b29f199f87b4f975f36c7242 ./librecad/res/extui/dlgmoverotate1.png
1cf7dc6e9065da0f0f4bf949339baf13 ./librecad/res/extui/dlgrotate.png
1cf7dc6e9065da0f0f4bf949339baf13 ./librecad/res/extui/modifyrotate.png
2081442a9800597cdf85266762c66a6f ./librecad/res/ui/blockdefreeze.png
2081442a9800597cdf85266762c66a6f ./librecad/res/ui/visibleblock.png
2081442a9800597cdf85266762c66a6f ./librecad/res/ui/visiblelayer.png
250d90e571be59e4639b43a24663e702 ./librecad/res/extui/dlgmodifyrotate.png
250d90e571be59e4639b43a24663e702 ./librecad/res/extui/dlgrotate1.png
32de8340cf58738250bc27ec90512570 ./librecad/res/ui/blockfreeze.png
32de8340cf58738250bc27ec90512570 ./librecad/res/ui/hiddenblock.png
32de8340cf58738250bc27ec90512570 ./librecad/res/ui/hiddenlayer.png
377ea3eb16abbe5b68162caf70b1a8ac ./librecad/res/actions/editcut2.png
377ea3eb16abbe5b68162caf70b1a8ac ./librecad/res/actions/editcut.png
377ea3eb16abbe5b68162caf70b1a8ac ./librecad/res/extui/editcut.png
377ea3eb16abbe5b68162caf70b1a8ac ./librecad/res/main/editcut.png
3e05b3360203b8a785e5169c84d64d4f ./librecad/res/extui/modifyentity.png
3e05b3360203b8a785e5169c84d64d4f ./librecad/res/ui/blockedit.png
4494818c11a6f6a37be4c25156e633a8 ./librecad/res/ui/linetype01.png
4494818c11a6f6a37be4c25156e633a8 ./librecad/res/ui/width00.png
4494818c11a6f6a37be4c25156e633a8 ./librecad/res/ui/width01.png
46e946147751a78c866004559105be3d ./librecad/res/extui/menupoint.png
46e946147751a78c866004559105be3d ./librecad/res/extui/points.png
4f705f62ef3c8e977dd1d17c334b684d ./librecad/res/extui/dlgmodifyscale.png
4f705f62ef3c8e977dd1d17c334b684d ./librecad/res/extui/dlgscale1.png
5176bd5ebfcccca9de401771eb4306f0 ./librecad/res/extui/dlgmirror1.png
5176bd5ebfcccca9de401771eb4306f0 ./librecad/res/extui/dlgmirror.png
5176bd5ebfcccca9de401771eb4306f0 ./librecad/res/extui/dlgmodifymirror.png
5176bd5ebfcccca9de401771eb4306f0 ./librecad/res/extui/modifymirror.png
5afdfa74250727184f99f75f5c3c456d ./librecad/res/actions/filesave2.png
5afdfa74250727184f99f75f5c3c456d ./librecad/res/actions/filesaveas.png
5afdfa74250727184f99f75f5c3c456d ./librecad/res/actions/filesave.png
5afdfa74250727184f99f75f5c3c456d ./librecad/res/extui/filesave.png
5afdfa74250727184f99f75f5c3c456d ./librecad/res/main/filesave.png
694915bdc777a2e84e89fec04575a093 ./librecad/res/extui/menuspline.png
694915bdc777a2e84e89fec04575a093 ./librecad/res/extui/splinesnurbs.png
6a70f32b4199abe507c1ea50335f421a ./librecad/res/actions/editpaste2.png
6a70f32b4199abe507c1ea50335f421a ./librecad/res/actions/editpaste.png
6a70f32b4199abe507c1ea50335f421a ./librecad/res/extui/editpaste.png
72c493ad9ef8656194c8bcf7182d4219 ./librecad/res/extui/restrictnothing.png
72c493ad9ef8656194c8bcf7182d4219 ./librecad/res/extui/snapfree.png
786afd26ce58f99f70f1274002155809 ./librecad/res/extui/modifyattributes.png
786afd26ce58f99f70f1274002155809 ./librecad/res/ui/blockattributes.png
786afd26ce58f99f70f1274002155809 ./librecad/res/ui/layeredit.png
79c648d849a9e4bf0056bf378d5000a4 ./librecad/res/actions/fileopen2.png
79c648d849a9e4bf0056bf378d5000a4 ./librecad/res/actions/fileopen.png
79c648d849a9e4bf0056bf378d5000a4 ./librecad/res/extui/fileopen.png
79c648d849a9e4bf0056bf378d5000a4 ./librecad/res/main/fileopen.png
79c648d849a9e4bf0056bf378d5000a4 ./librecad/res/ui/folderopen.png
9a6ffaacb1be2cd309f63c7ad1f136d6 ./librecad/res/actions/viewgrid.png
9a6ffaacb1be2cd309f63c7ad1f136d6 ./librecad/res/extui/snapgrid.png
9a6ffaacb1be2cd309f63c7ad1f136d6 ./librecad/res/ui/viewgrid.png
9d14932e5e25f47bac6bbf884d8919f5 ./librecad/res/actions/filenew.png
9d14932e5e25f47bac6bbf884d8919f5 ./librecad/res/extui/filenew.png
9d14932e5e25f47bac6bbf884d8919f5 ./librecad/res/main/filenew.png
a04e536ab64fbdb96ace47e7deee5ef3 ./librecad/res/extui/dlgscale.png
a04e536ab64fbdb96ace47e7deee5ef3 ./librecad/res/extui/modifyscale.png
ad0d573f62601c16936fe2feaa19e9ab ./librecad/res/ui/blockadd.png
ad0d573f62601c16936fe2feaa19e9ab ./librecad/res/ui/layeradd.png
b198d6d2c5a41c1247b2d2b0c8339c7f ./librecad/res/extui/python2.4-16.png
b198d6d2c5a41c1247b2d2b0c8339c7f ./librecad/res/extui/python2.4-32.png
ba4cc030e28dadd4c5de4e7adccba763 ./librecad/res/actions/fileprint.png
ba4cc030e28dadd4c5de4e7adccba763 ./librecad/res/ui/fileprint.png
c18118ae246675dcbe54a5334e5addb7 ./librecad/res/extui/dlfmoverotate.png
c18118ae246675dcbe54a5334e5addb7 ./librecad/res/extui/modifymoverotate.png
d6e1ef6b5772fa6d8939f29a9df46ff6 ./librecad/res/actions/exit.png
d6e1ef6b5772fa6d8939f29a9df46ff6 ./librecad/res/actions/fileclose.png
e55f0f3bba61f72eeeb00376e9e3cfff ./librecad/res/actions/editcopy2.png
e55f0f3bba61f72eeeb00376e9e3cfff ./librecad/res/actions/editcopy.png
e55f0f3bba61f72eeeb00376e9e3cfff ./librecad/res/extui/editcopy.png
e55f0f3bba61f72eeeb00376e9e3cfff ./librecad/res/main/editcopy.png
e77b9022b3ad353cb826c901130c01b8 ./librecad/res/extui/menudim.png
e77b9022b3ad353cb826c901130c01b8 ./librecad/res/extui/menuhatch.png