Searching a drive and copying files

Mike Jeays mj001 at rogers.com
Sat Jul 22 15:48:06 UTC 2006


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 at familyfunzone.net
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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!





More information about the freebsd-questions mailing list