How to use find and mv How to use find and mv/

After using “wget -spyder” to download a directory index and all linked files, I noticed they ended up in 70 or 80 different directories on my local machine.

I found that using “find” and “mv” worked the best to round them up and put them in the root of the directory structure.

mikej@wdc01 ~/# find * -type f -exec mv {} . ;
VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
How to use find and mv How to use find and mv/, 10.0 out of 10 based on 1 rating
Share
You can leave a response, or trackback from your own site.

12 Responses to “How to use find and mv How to use find and mv/”

  1. April says:

    good stuff….. Thanks

  2. Reatha says:

    Impressive post.

  3. Domenic says:

    I found this info beneficial

  4. Tracy says:

    Great article! I have bookmarked it

  5. julio says:

    Can I provide you a suggestion about this article ? Would you mind ?

  6. julio says:

    Cool solution. Keep the cool work going!

  7. Sol Landherr says:

    This site was a great help

Leave a Reply

Comments links could be nofollow free.

Twitter Delicious Facebook Digg Stumbleupon Favorites More