Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 2 Mar 2001 14:04:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 2 Mar 2001 14:04:05 -0500 Received: from sparrow.ists.dartmouth.edu ([129.170.249.49]:11925 "EHLO sparrow.websense.net") by vger.kernel.org with ESMTP id ; Fri, 2 Mar 2001 14:03:59 -0500 Date: Fri, 2 Mar 2001 14:03:15 -0500 (EST) From: William Stearns Reply-To: William Stearns To: ML-linux-kernel cc: William Stearns Subject: [OFFTOPIC] Hardlink utility - reclaim drive space Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Good day, all, Sorry for the offtopic post; I sincerely believe this will be useful to developers with multiple copies of, say, the linux kernel tree on their drives. I'll be brief. Please followup to private mail - thanks. Freedups scans the directories you give it for identical files and hardlinks them together to save drive space. Please see ftp://ftp.stearns.org/pub/freedups . V0.2.1 is up there; it has received some testing, but may yet contain bugs. I was able to recover ~676M by running it against 8 different 2.4.x kernel trees with different patches that originally contained ~948M of files. YMMV. I do understand there are better ways to handle this problem (cp -av --link, cvs? Bitkeeper, deleting unneeded trees, tarring up trees, etc.). See the readme for a little discussion on this. This is just one approach that may be useful in some situations. Cheers, - Bill --------------------------------------------------------------------------- "Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry." -- Eric Raymond -------------------------------------------------------------------------- William Stearns (wstearns@pobox.com). Mason, Buildkernel, named2hosts, and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com -------------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/