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 ]
then
	echo $themeName.rwtheme exists!
else
	echo Couldn\'t find $themeName.rwtheme.
fi
comments powered by Disqus

Info

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: 892
Date Added: 2010-12-10 18:24:26
Last Modified: 0000-00-00 00:00:00

Web Analytics