On Mon, May 04, 2009 at 04:09:51AM -0600, Mike F. wrote:
> 
> SOLUTION:
> The following script parses all subdirectories (from where it's bashed) 
> looking for hidden .directory files.  This script then replaces 
> the /absolutepathname/.folder.png  with ./.folder.png.
> 
> find . -name .directory -type f -exec 
> sed --in-place -e 's/^Icon\=.*\.folder\.png/Icon\=\.\/\.folder\.png/g' {} \;

That looks like a great way to do it.  Thanks for sharing the tip.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to