Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-11-2006, 09:54 AM   #1
toby466
Registered User
 
Join Date: Aug 2004
Posts: 33
How to delete files & left directory structure intact?

Do you know any program for Windows which can do this:

Delete cartain file type (ie. jpg files) in selected directory and its subdirectories and left directory structure and all others files intact.

Any ideas?
toby466 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2006, 09:57 AM   #2
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Try to do it with batch scripting.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2006, 10:03 AM   #3
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Here's a really dumb way in DOS:

Open up your dos prompt.
CD into the directory you want to recursively remove files from.
Type: dir *.jpg /S/B > list.bat
Open up "list.bat" in an editor and prepend each line with "del " (using a regular expression replace)
Run that batch file.

-- totally dumb, but since I don't know of any program either, that's how I'd do it.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2006, 10:07 AM   #4
Quickdraw
Confirmed User
 
Join Date: Mar 2004
Location: → → →
Posts: 1,717
You can do it without a program this way--

start>>
Search>>
Pictures, Music, or Video>>
Check the box-- Pictures and Photos>>
Use Advanced>>
then select your top folder to search and click 'Search' and it will display all image files in that folder and subs

edit--
of course then you -- ctrl+a and hit delete

Last edited by Quickdraw; 10-11-2006 at 10:09 AM..
Quickdraw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.