Topic: LINUX command (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=32095" title="Pages that link to Topic: LINUX command (Page 1 of 1)" rel="nofollow" >Topic: LINUX command <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

IP logged posted posted 12-27-2010 16:46 Edit Quote

Often times while working with Magento I have to replace the favicon for a site I'm working on. Problem is that Magento stores it in several different directories because it supports multi-store management. What I want to know is...what Linux command can I run to recursively copy the favicon from the public_html directory to all the subdirectories that contain favicon.ico like shown below:

skin/install/default/default/favicon.ico
skin/frontend/base/default/favicon.ico
skin/frontend/default/sun_saver_shades/favicon.ico
skin/frontend/default/default/favicon.ico
skin/frontend/default/modern/favicon.ico
skin/frontend/default/blue/favicon.ico
skin/frontend/default/iphone/favicon.ico
skin/frontend/default/blank/favicon.ico
skin/adminhtml/default/default/favicon.ico
downloader/pearlib/download/Interface_Install_Default-1.4.1.1/install/default/default/favicon.ico
downloader/pearlib/download/Interface_Frontend_Default-1.4.1.0/frontend/default/default/favicon.ico
downloader/pearlib/download/Mage_Core_Modules-1.4.1.1/errors/default/images/favicon.ico
downloader/pearlib/download/Interface_Frontend_Base_Default-1.4.1.1/frontend/base/default/favicon.ico
downloader/pearlib/download/Interface_Adminhtml_Default-1.4.1.1/adminhtml/default/default/favicon.ico
downloader/favicon.ico
errors/default/images/favicon.ico

KARN
Bipolar (III) Inmate

From: Vancouver, BC
Insane since: Apr 2001

IP logged posted posted 05-22-2012 21:01 Edit Quote

hmm I'm not sure of the command, but I've never had that issue before. Replacing the one in skin/frontend/currenttheme/default/ does the trick every time.

Portfolio | Tweet Me



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu