From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 15:48:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AF5D16A4DA for ; Sat, 22 Jul 2006 15:48:06 +0000 (UTC) (envelope-from mj001@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 0CE4743D46 for ; Sat, 22 Jul 2006 15:48:05 +0000 (GMT) (envelope-from mj001@rogers.com) Received: (qmail 93684 invoked from network); 22 Jul 2006 15:48:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=H+c2FYlh39QXqTSHASb0ClC776vA3xp8SuJEswVDB0kclEVROHGZ029ziRB7YwFmkgUamC0oGFQWanMiTUVTV+zyL6HlFvtVyPz0agLuKwsLA6lrW1ULM9bxC4ft0MW7eR7ot/lGNUuU9w08EZNPiXF8Fxfl4nthYNMEZ3ZmYmA= ; Received: from unknown (HELO chaucer.jeays.ca) (mj001@rogers.com@24.43.50.5 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 22 Jul 2006 15:48:05 -0000 From: Mike Jeays To: Joshua Lewis In-Reply-To: <336A5DA6-5A43-44C0-8961-139C81702AB3@familyfunzone.net> References: <336A5DA6-5A43-44C0-8961-139C81702AB3@familyfunzone.net> Content-Type: text/plain Date: Sat, 22 Jul 2006 11:48:04 -0400 Message-Id: <1153583284.2656.139.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Searching a drive and copying files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 15:48:06 -0000 On Sat, 2006-07-22 at 10:47 -0400, Joshua Lewis wrote: > Hello List, > > I have a two part question for anyone who may be able to help. > > I need to search my drive for all pictures on my system and copy them > to a networked system using sftp or ssh or what not. There will be > duplicate names on the drive so I was hoping to have dups placed in a > separate folder. Due to my for lack of a better term stupidity when I > first got my camera I will probably have instances when there will be > three or four duplicates. If anyone can help me out with that it > would be great. > > Second is there a resource online I can use to learn how to do my own > shell scripting? > > My goal is to find all my pictures and compare them then delete the > dups that don't look that good. A daunting task as I have 20 GB of > data. I bet 10 GB are dups. > > Thanks for any help. > > Sincerely, > Joshua Lewis > joshua.lewis@familyfunzone.net > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I have a perl script that does part of this, using MD5 hashes to identify duplicates. I posted it at http://ca.geocities.com/mike.jeays@rogers.com/treeprune.pl Use at your own risk!