Skip to content

Instantly share code, notes, and snippets.

@erikbgithub
Forked from anonymous/gist:260869
Created December 21, 2009 10:17
Show Gist options
  • Save erikbgithub/260892 to your computer and use it in GitHub Desktop.
Save erikbgithub/260892 to your computer and use it in GitHub Desktop.
#! /bin/tcsh -f
set i=1
while { i <= $#argv }
@ i = $i + 1
if ( -d $argv[$i] ) then
rm -R $argv[$i]
else
echo Das $i. Argument ist kein Verzeichnis.
endif
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment