"delete files older than X (working) days"

  • Thread starter Thread starter Bessy
  • Start date Start date
B

Bessy

hi! :)
i am looking for a (possibly commandline) freeware that deletes (or does a
customizable action) files older than an X value like "20 days" or
20-working days (and you set what that working days are) or ... 3 weeks ...
5 months ... and so on :)

do you know something like that? :)
 
Bessy said:
hi! :)
i am looking for a (possibly commandline) freeware that deletes (or
does a customizable action) files older than an X value like "20
days" or 20-working days (and you set what that working days are) or
... 3 weeks ... 5 months ... and so on :)

do you know something like that? :)

i've found this
http://pugetsoundsoftware.com/rdel.html
(commandline)

<<
and mr T.Salmi told me this:

This has some of the rudiments of the identification logic, even if
not a customized answer:

8} How do I find all the files made at of after YYYYMMDD HHMM?

111572 Jan 22 2005 ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi

i hope that helps us all :)
 
Bessy said:
hi! :)
i am looking for a (possibly commandline) freeware that deletes
(or does a customizable action) files older than an X value
like "20 days" or 20-working days (and you set what that working
days are) or ... 3 weeks ... 5 months ... and so on :)

do you know something like that? :)

Python + a simple self-written script will do this perfectly.

Regards,
Wald
 
i am looking for a (possibly commandline) freeware that deletes (or does a
customizable action) files older than an X value like "20 days" or
20-working days (and you set what that working days are) or ... 3 weeks ...
5 months ... and so on :)

Few programs support advanced weekday and/or holiday arithmetic on
file dates. The following FDate program should do fine:

http://www.ferg.org/fdate

But you'll have to invest some time to get all the needed switches
sorted out.

BeAr
 
hi! :)
i am looking for a (possibly commandline) freeware that deletes (or does a
customizable action) files older than an X value like "20 days" or
20-working days (and you set what that working days are) or ... 3 weeks ...
5 months ... and so on :)

do you know something like that? :)

get Decay from: http://www.securityfocus.com/tools/1526

it's a command-line program that does exactly what you want.

jack
screen off
 
In said:
hi! :)
i am looking for a (possibly commandline) freeware that deletes (or
does a customizable action) files older than an X value like "20
days" or 20-working days (and you set what that working days are) or
... 3 weeks ... 5 months ... and so on :)

do you know something like that? :)

try Delage32 (it's been working a treat here for some time) - very
simple commandline util, just specify the file masks, and the number of
days (eg DelAge32 C:\some\where\*.* 100 deletes all files in the
some\where folder that are over 100 days old)

get it here http://home.mnet-online.de/horst.muc/index.html (go to the
'Windows' Page)

S
 
Bessy said:
hi! :)
i am looking for a (possibly commandline) freeware that deletes (or does a
customizable action) files older than an X value like "20 days" or
20-working days (and you set what that working days are) or ... 3 weeks ...
5 months ... and so on :)

do you know something like that? :)

DeleteMe at http://www.cyberkiko.com

Best regards, Kristof
 
If I wanted to do something like that, I'd use the versatile
LOCATE.COM by Charles Dye :

http://www.highfiber.com/~raster/locate.zip

For example:

locate c:\download\*.* /d:,7-04-04 /nr /k

will locate all files in the download folder older than 7-04-04
and offer to delete them (the /k switch for "kill"). The /nr
prevents recursion to other subdirectories. You can also
set times as well as dates. And you can set date/time ranges.
You could also set it to only include certain file extensions or
file names, etc.

No need to clutter up your hard drive with many different
utilities when only a very few are required to do whatever
you might want :)

Locate.com can be used in batch files to do a wide variety
of useful chores.


http://home.epix.net/~artnpeg
 
Fyi;

I followed them thar linkage. It be broke. Here's the last version
available directly from the author's site:

http://www.linkdata.se/software.html

-Sparky

thanks, yes i would have pointed to his site but it seemed to have
disappeared from the planet yesterday.

anway, it's a super program, i've been running it daily for years.


jack
The Author asserts the moral right to be indentified as the author of this
work
 
Back
Top