#144831 - 2005-08-05 04:27 PM
Count files and filesize, then remove files older then 1 day
|
Zakonski
Fresh Scripter
Registered: 2005-08-05
Posts: 5
|
I've read a post about deleting files which were older then 30 days. I've tried to edit the script, but it didn't work. Here's what I want: For example, it's the 5th of July 2005. There's a folder ..\TMP. I want to count the total of files which are older then the 5th of July 2005 I want to count the total size of files which are older then the 5th of July 2005 The result may be printed on the screen, or to a file. After that it needs to delete all the files, older then the 5th of July 2005.
Any suggestions? My skills with scripting are not that good, so type slowly please
|
|
Top
|
|
|
|
Count files and filesize, then remove files older then 1 day
|
Zakonski
|
2005-08-05 04:27 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Bryce
|
2005-08-05 11:03 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
NTDOC
|
2005-08-07 09:17 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Sealeopard
|
2005-08-07 11:17 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Zakonski
|
2005-08-06 02:19 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-06 09:01 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Bryce
|
2005-08-07 06:58 AM
|
Re: Count files and filesize, then remove files older then 1 day
|
Sealeopard
|
2005-08-07 05:05 AM
|
Re: Count files and filesize, then remove files older then 1 day
|
Bryce
|
2005-08-07 07:00 AM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-07 10:23 AM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-07 10:49 AM
|
Re: Count files and filesize, then remove files older then 1 day
|
Sealeopard
|
2005-08-07 02:00 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Zakonski
|
2005-08-07 03:35 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-06 03:58 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Lonkero
|
2005-08-06 05:24 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Bryce
|
2005-08-06 05:36 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-06 08:57 PM
|
Re: Count files and filesize, then remove files older then 1 day
|
Co
|
2005-08-05 09:03 PM
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 530 anonymous users online.
|
|
|