> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of mike > Sent: Thursday, January 02, 2003 5:04 PM > To: [EMAIL PROTECTED] > Subject: Shell guru needed. > > > Hey guys. heres the skinny. I have a huge library and i want > to organize it. I want find to go through recursively, and > move any "pdf" files it finds to a certain directory. I need > an example piece of script on how i would confront this. It > will save me hours if not days so thanks in advance.
okay, I am no expert, but here is a shot: %find /path/to/search -name '*.pdf' -exec mv /destination/directory I am a bit uncertain if the last part is correct, but this is close to what you want, I think. > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message