- Scripts
- Posted by Clayton on February 24th, 2004
Hello
I have a question pertaining to scripts.
My Unix guy has tasked me to come up with a way to clean
up and organize Windows file directories.
One of the things he wants to do is delete files older
than certain dates, and/or just plain flat out delete
certain files in certain directories.
Not being a script person myself could someone point me to
a good resource for this?
I have looked at the Scripting Center at MS but I can't
seem to find samples pertaining to our needs.
Let me know.
Thanks
Clayton
- Posted by Phil Robyn [MVP] on February 24th, 2004
Clayton wrote:
http://www.google.com/groups?as_epq=...TF-8&lr=&hl=en
--
Phil Robyn
Univ. of California, Berkeley
u n z i p m y a d d r e s s t o s e n d e - m a i l
- Posted by Greg Stigers on February 24th, 2004
You delete my old files from my department's network shares, and I'll come
looking for you. Then we'll both make the local news. ;-)
May I recommend that you look at both Remote Storage Services and at Offline
Storage? If your shares are well-organized, you ought to be able to archive
to long-term storage files from old projects or that sort of thing. But in
my experience, people will go back to 'dead' files, read them, or take a
copy as the basis for a new document. Just because no one has needed to
update the Programming Style Guidelines manual in nearly three years does
not mean no one is using it. And disk is cheap these days, relatively
speaking. It's just a matter of managing, although these days its more a
matter of AV scanning taking too long than backups taking too long.
And don't let your UNIX guy intimidate you. Read the UNIX-Haters Handbook,
and you'll realize that some folks consider losing your data a right of
passage. ;-)
--
Greg Stigers, MCSA
this space for rent
- Posted by Clayton on February 25th, 2004
Hehe...
Dont worry the Unix guy is not intimidating me, I bust on
him on a daily basis....
Actually we are on the brink of getting Unix outa here.
We had been using SFU, Services For Unix due to the fact
that this company had used Unix for their production
environment.
With the change of Command around here we have been
steadily trying to move everything to Windows, SFU was one
of those "Quick Fix" things that was supposed to make our
life easier....NOT....!!
So now we have several programmers working on a proprietary
Unix program that does inspections for this company, and
their job is to convert this into a Windows EXE...
Such is life, since we are moving to Windows the Unix guy
has no idea how to reproduce his cleanup scripts in
Winodws....imagine that..hehe.
Nor do I, since I am more into networking than scripting.
The unix program creates hundreds of what we would call
temp or dead files on the system that his scripts go in
and clean out, which save me disk space in the long run.
Creating a Windows script to do the same tasks would be
helpful.
See Ya