utilities

  • Thread starter Thread starter Newbie
  • Start date Start date
N

Newbie

Guest
Hello,

I am looking for some softwares can do the following:

1. limit the folder size.
i.e. I like to limit each user has 500MB space only.

2. move old data to another folder.
i.e. I like to move the files which date is before 12-31-2006 from one
folder and subfolder to another folder and subfolder.

Thanks
 
Re: utilities


"Newbie" <Newbie@discussions.microsoft.com> wrote in message
news:4A46B475-581B-4EAE-AB55-C68DDA0FAB74@microsoft.com...
> Hello,
>
> I am looking for some softwares can do the following:
>
> 1. limit the folder size.
> i.e. I like to limit each user has 500MB space only.
>
> 2. move old data to another folder.
> i.e. I like to move the files which date is before 12-31-2006 from one
> folder and subfolder to another folder and subfolder.
>
> Thanks
>


There are standard tools for this:

> 1. limit the folder size.
> i.e. I like to limit each user has 500MB space only.

=> Use user quotas.

> 2. move old data to another folder.
> i.e. I like to move the files which date is before 12-31-2006 from one
> folder and subfolder to another folder and subfolder.

=> Use robocopy.exe
 
Re: utilities

Hello Newbie,

Limit disk space with Quotas, volume based with all versions, if you need
folder based settings, use server 2003 R2 FSRM or 3rd party tools.

You can use robocopy from ressource kit tools or xxcopy (freeware) to copy
data.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Hello,
>
> I am looking for some softwares can do the following:
>
> 1. limit the folder size.
> i.e. I like to limit each user has 500MB space only.
> 2. move old data to another folder.
> i.e. I like to move the files which date is before 12-31-2006 from
> one
> folder and subfolder to another folder and subfolder.
> Thanks
>
 
Re: utilities

Newbie wrote:
> 2. move old data to another folder.
> i.e. I like to move the files which date is before 12-31-2006 from one
> folder and subfolder to another folder and subfolder.


You can use PowerShell for this task.

$sourceFolder = "c:\folder\subfolder"
$destFolder = "d:\newfolder"
dir $sourceFolder -recurse | where-object { $_.LastWriteTime -lt "12-31-2006" }`
| move-item -destination $destFolder

The above command would work as well with UNC paths.

Learn more about Powershell here:

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx


--
Author, Tech Prosaic blog (http://halr9000.com)
Webmaster, Psi (http://psi-im.org)
Community Director, PowerShellCommunity.org
Co-host, PowerScripting Podcast (http://powerscripting.net)
 
Back
Top