remove unused files from md5pool
[cloudstore.git] / remove-user.sh
index bc143bc..ff3fa2a 100755 (executable)
@@ -15,3 +15,4 @@ if dir=`grep ":$email:" $passwd | cut -d: -f6` ; then
        grep -v ":$email:" $passwd > $passwd.new && mv $passwd.new $passwd
 fi
 
+find /test/s1/md5/ -links 1 -exec rm -fv {} \;