If Theme Exists

Send Snippet To: Save this snippet to Code Collector Pro -- view all seydoggy's snippets
language: bash
license: Other

Code for Snippet:

themeName="My Theme"
if [ -d ~/Library/Application\ Support/RapidWeaver/"$themeName".rwtheme ]
	echo $themeName.rwtheme exists!
	echo Couldn\'t find $themeName.rwtheme.
comments powered by Disqus


Tags: bash theme exists

Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 1076
Date Added: 2010-12-10 18:24:26
Last Modified: 0000-00-00 00:00:00

Web Analytics