User:Minooz/RepoSyncProj/Bash

From CDOT Wiki
< User:Minooz‎ | RepoSyncProj
Revision as of 10:11, 18 October 2010 by Minooz (talk | contribs) (Bash Scripting Help)
Jump to: navigation, search

Bash Scripting Help

Tutorial
Shell Programming
Linux org

Tips

  • Watch the spaces
if [ -d "$tmpInternal" ]; then
	rm -r $tmpInternal >> $dateError.txt 
elif [ -d "$tmpExternal" ]; then
	rm -r $tmExternal >> $dateError.txt 
fi