|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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? |
|
|
|
|
|
#2 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Try to do it with batch scripting.
|
|
|
|
|
|
#3 |
|
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. |
|
|
|
|
|
#4 |
|
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 |
|
|
|