X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=remove-user.sh;fp=remove-user.sh;h=ff3fa2af95744d96d480a5b7afaf8af27a04d480;hb=e3e1f113f61f26af49d6bdd0bf8927de3b7c7822;hp=bc143bcc4a19af5f3a1d4079eacc8259d4ab4963;hpb=c2dc40a697792fb92ebbc3e1b3b1c28e00e951ad;p=cloudstore.git diff --git a/remove-user.sh b/remove-user.sh index bc143bc..ff3fa2a 100755 --- a/remove-user.sh +++ b/remove-user.sh @@ -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 {} \;