Date: Fri, 16 Mar 2001 22:38:53 +0100 (CET) From: Jens Schweikhardt <schweikh@schweikhardt.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/25857: New port: samefile - find identical files wasting diskspace Message-ID: <200103162138.f2GLcrv12567@hal9000.schweikhardt.net>
next in thread | raw e-mail | index | archive | help
>Number: 25857 >Category: ports >Synopsis: New port: samefile - find identical files wasting diskspace >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 16 13:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jens Schweikhardt >Release: FreeBSD 4.2-RELEASE i386 >Organization: An Open Pod Bay Door >Environment: >Description: The samefile program finds files with identical contents (independent of file name). Typical usage would be find / -print | samefile turning up megabytes of wasted disk space due to duplicates. Try it, you'll be baffled. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # samefile # samefile/Makefile # samefile/distinfo # samefile/pkg-comment # samefile/pkg-descr # samefile/pkg-plist # echo c - samefile mkdir -p samefile > /dev/null 2>&1 echo x - samefile/Makefile sed 's/^X//' >samefile/Makefile << 'END-of-samefile/Makefile' X# New ports collection makefile for: samefile X# Date created: 15 March 2001 X# Whom: schweikh X# X# $FreeBSD$ X# X XPORTNAME= samefile XPORTVERSION= 2.9 XCATEGORIES= sysutils XMASTER_SITES= http://www.schweikhardt.net/ X XMAINTAINER= samefile@schweikhardt.net X XMAN1= samefile.1 XGNU_CONFIGURE= yes X XCFLAGS+= -ansi -pedantic -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wconversion -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Winline X Xpost-build: X @echo " >>>> <<<<" X @echo " >>>> Running the test suite <<<<" X @echo " >>>> <<<<" X cd ${WRKSRC}; ${MAKE} test X Xpost-install: X strip ${PREFIX}/bin/samefile X X.include <bsd.port.mk> END-of-samefile/Makefile echo x - samefile/distinfo sed 's/^X//' >samefile/distinfo << 'END-of-samefile/distinfo' XMD5 (samefile-2.9.tar.gz) = cac055b174882e4ecc4db7b7cee78c94 END-of-samefile/distinfo echo x - samefile/pkg-comment sed 's/^X//' >samefile/pkg-comment << 'END-of-samefile/pkg-comment' XFind files with identical contents END-of-samefile/pkg-comment echo x - samefile/pkg-descr sed 's/^X//' >samefile/pkg-descr << 'END-of-samefile/pkg-descr' XThe samefile program finds files with identical contents (independent of Xfile name). Typical usage would be X X find / -print | samefile X Xturning up megabytes of wasted disk space due to duplicates. Try it, Xyou'll be baffled. X XJens Schweikhardt Xsamefile@schweikhardt.net END-of-samefile/pkg-descr echo x - samefile/pkg-plist sed 's/^X//' >samefile/pkg-plist << 'END-of-samefile/pkg-plist' Xbin/samefile END-of-samefile/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103162138.f2GLcrv12567>