DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
Old 27th April 2010
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

I came across this while googling:

http://www.commandlinefu.com/command...-then-md5-hash
Reply With Quote
Old 27th April 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Why reinvent the wheel?

OpenBSD: sysutils/fdupes
FreeBSD: sysutils/fdupes
NetBSD: sysutils/fdupes
Homepage: http://netdial.caribe.net/~adrian2/fdupes.html
Reply With Quote
Old 27th April 2010
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

These examples work only for GNU utils, not on BSD ones ... and coreutils package does not provide many GNU utils needed for that (like find)

... but this may be helpful to simplify that script, from about 150 lines to ONE, thanks
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Reply

Tags
dedup, duplicate, file, md5

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
different base directory for same tree vigol FreeBSD Ports and Packages 5 7th December 2009 05:12 AM
GCC in src tree or in ports tree vigol FreeBSD Ports and Packages 2 6th December 2009 04:34 PM
Mount smb in zfs tree mururoa FreeBSD Installation and Upgrading 0 15th November 2009 04:02 PM
Is the source tree frozen until Nov 1st? lionsong OpenBSD General 6 7th October 2009 07:22 PM
strange "~" directory in home directory gosha OpenBSD General 5 23rd February 2009 06:12 PM


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick