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

Code for Snippet:

if [ ~/Library/Application\ Support/RapidWeaver/_installer_wasMoved.text ]
		rwDir=~/Library/Application\ Support/RapidWeaver
		themePathNew=$(cat "$rwDir"/_installer_themePathNew.text)
		themeDirOrig=$(cat "$rwDir"/_installer_themeDirOrig.text)
		mv "$themePathNew" "$themeDirOrig"
		rm "$rwDir"/_installer_wasMoved.text
		rm "$rwDir"/_installer_themePathNew.text
		rm "$rwDir"/_installer_themeDirOrig.text
comments powered by Disqus


Tags: move theme script bash shell filestorm rapidweaver

Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on 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: 1121
Date Added: 2011-01-26 22:13:20
Last Modified: 0000-00-00 00:00:00

Web Analytics