Computing.Net > Forums > Programming > Find and move jpg files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Find and move jpg files

Reply to Message Icon

Name: newbee
Date: March 27, 2009 at 02:47:42 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi All

First I want to thank everyone that have helped me so far :-)

Is it it possible for a bat file to search the computer for jpg files and move or copy them to one directory ?

I kind of lost track of where every jpg file might be :-)





Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: March 27, 2009 at 03:30:46 Pacific
Reply:

you can do that with batch, but i will let others show you how. here's an easier way, if you can download unix tools for windows, using coreutils and findutil.

C:\test> find c:\directory -name "*.jpg" -exec mv {} "c:\otherdir" ;

that's all you need.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Find and move jpg files

Batch to compare and move files www.computing.net/answers/programming/batch-to-compare-and-move-files/13491.html

Search for substring and move files www.computing.net/answers/programming/search-for-substring-and-move-files/12924.html

Copy, rename and Move a file www.computing.net/answers/programming/copy-rename-and-move-a-file-/17888.html