@@ -0,0 +1,1264 @@
+import os, shutil%0A%0Adef copyFile(src, dest):%0A    try:%0A        shutil.copy(src, dest)%0A    # eg. src and dest are the same file%0A    except shutil.Error as e:%0A        print('Error: %25s' %25 e)%0A    # eg. source or destination doesn't exist%0A    except IOError as e:%0A        print('Error: %25s' %25 e.strerror)%0A%0Asourcefavicon = %22/opt/alfresco/tomcat/webapps/share/themes/beeTheme/images/favicon.ico%22%0Areplacefavicon = %5B%22/opt/alfresco/tomcat/webapps/ROOT/favicon.ico%22,%0A                %22/opt/alfresco/tomcat/webapps/alfresco/favicon.ico%22,%0A                %22/opt/alfresco/tomcat/webapps/alfresco/images/logo/AlfrescoLogo16.ico%22,%0A%09%09%22/opt/alfresco/tomcat/webapps/share/favicon.ico%22,%0A%09%09%22/opt/alfresco/tomcat/webapps/solr4/favicon.ico%22,%0A%09%09%22/opt/alfresco/tomcat/webapps/solr4/img/favicon.ico%22%5D%0A%0Afor favicon in replacefavicon:%0A%09copyFile( sourcefavicon, favicon )%0A%09fd = os.open(favicon,os.O_RDONLY)%0A%09os.fchown( fd, 501, 501)%0A%09os.close(fd)%0A%0Asourcelogo = %22/opt/alfresco/tomcat/webapps/share/themes/beeTheme/images/alfresco-share-logo.png%22%0Areplacelogo = %5B%22/opt/alfresco/tomcat/webapps/share/components/images/alfresco-share-logo.png%22%5D%0A%0Afor logo in replacelogo:%0A        copyFile( sourcelogo, logo )%0A        fd = os.open(logo,os.O_RDONLY)%0A        os.fchown( fd, 501, 501)%0A        os.close(fd)%0A%0A%0A

Add script to sort graphics