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 12-09-2003, 09:36 PM   #1
Claude
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 ?
Claude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2003, 09:40 PM   #2
extreme
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
extreme is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2003, 09:44 PM   #3
Claude
Confirmed User
 
Join Date: Apr 2003
Location: Europe
Posts: 1,036
Quote:
Originally posted by extreme
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
Just wired $243 to you.

Itīs on my own Windows PC, not on a server. Anyone else ?
Claude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2003, 09:47 PM   #4
mryellow
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.
mryellow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-09-2003, 09:51 PM   #5
Claude
Confirmed User
 
Join Date: Apr 2003
Location: Europe
Posts: 1,036
Quote:
Originally posted by mryellow
oh man....

Press F3


Search for files over a given filesize....
It's only been in Windows since 95.

-Ben
I Know, that problem is that I have 42K out of appr. 50K files that needs to be deleted. A list that long simply slows that computer down so much that itīs faster to just go do it manually. I have already tried this, but thanks anyway....
Claude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2003, 09:27 PM   #6
mryellow
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.
mryellow 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.