Re: [Vserver] Hashify 'etch' trouble?

From: Enrico Scholz <enrico.scholz_at_sigma-chemnitz.de>
Date: Fri 11 May 2007 - 15:50:16 BST
Message-ID: <ly8xbv76tz.fsf@ensc-pc.intern.sigma-chemnitz.de>

undefined@pobox.com (Corey Wright) writes:

> "clean-up hash directory"
> http://www.paul.sladen.org/vserver/archives/200609/0016.html

Can be written much shorter as

| find /vservers/.hash/ -links 1 | xargs rm -f
| find /vservers/.hash/ -type d | xargs rmdir 2>/dev/null

(no need for '-0' flag)

Enrico

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Fri May 11 17:04:41 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 11 May 2007 - 17:04:45 BST by hypermail 2.1.8