![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Apr 2003
Location: Europe
Posts: 1,036
|
Software to delete all files above a certain size in several subfolders
I need to delete all files above a certain size in 350 subfolders and I donīt want to do it manually.
Anyone know of any software that can do that ? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Location: lalaland
Posts: 2,120
|
find . -size +2048k -print0 | xargs -0 rm -f
You can use the -exec flag to find also, I'm assuming your on some unix like device. Replace 2048k with whatever size you want. That'll be $243 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Apr 2003
Location: Europe
Posts: 1,036
|
Quote:
![]() Itīs on my own Windows PC, not on a server. Anyone else ? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
oh man....
Press F3 Search for files over a given filesize.... It's only been in Windows since 95. -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Apr 2003
Location: Europe
Posts: 1,036
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
Sounds like you need more ram.
Windows Scripting Host can probably handle it. Could write a perl script to do it if you have ActivePerl. If it's that much work I'm guessing you'd probably be better off waiting for your computer to display the search. -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
![]() |
![]() ![]() ![]() ![]() ![]() |