Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (16 sloc) 0.318 kB
#!/bin/bash
echo "Cleaning directory: "$1
echo
for Dirs in $(ls -ad $1); do
if [ -d $Dirs ] ; then
for entry in $@; do
if [ $entry != $1 ] ; then
files=$(find $1 -name "$entry")
for files in $files; do
rm -f $files
echo "the following file was removed:" $files
done
fi
done
fi
done
Jump to Line
Something went wrong with that request. Please try again.