Try any unix primer or

        man find
or
        find /my/unorganized/dir -name '*.pdf' -type f -exec echo mv {} /my/pdfs \;

and pray that you do not have files with identical names.

On Thu, 2 Jan 2003, mike wrote:

> 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.
>
> 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

Reply via email to