Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

DOS Command to Move Image Files to another Folder ?


  • Please log in to reply
2 replies to this topic

#1 mave27

mave27

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:10:48 AM

Posted 11 August 2015 - 08:07 AM

I have numerous image files (JPG/PNG format) stored in a folder. I would like to filter out (move to another folder) images that does NOT contain any of the following text :

_thumb ; _tiny ; _zoom ; _std

Example: image_thumb.jpg ; image_tiny.jpg ; image_zoom.jpg ; image_std.jpg ; image.jpg

Output: image.jpg should be moved to another Folder

Anyone care to share DOS Command prompt to achieve this ? rolleyes.gif

Thanks in Advance.



BC AdBot (Login to Remove)

 


m

#2 SleepyDude

SleepyDude

  • Malware Response Team
  • 2,935 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:07:48 AM

Posted 11 August 2015 - 09:35 AM

Hi,

 

You need to do that in pure dos or inside windows?


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#3 YeahBleeping

YeahBleeping

  • Members
  • 1,258 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:48 AM

Posted 11 August 2015 - 01:29 PM

xxcopy

 

Although it may be a bit of a learning curve for you it is a powerful file manipulator.

 

excerpt from the online manual

Much of the mostly hidden power of XXCOPY lies in the exclusion
mechanism.  Starting with v.2.97.7 (2009-01-13), the exclusion
specifier is fully compatible with the "Wild-Wildcard" feature.
That is, you may use wildcard characters (* and ?) anywhere in
the exclusion specifier in any number of times.  (Earlier 
versions of XXCOPY had complicated rules on the wildcard usage).





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users