Question: on linux server I use [BackupPC](http://backuppc.sourceforge.net/) and I want to do copys for windows clients. What lexic I should use?

i now are using and work good:

\*.pl

```
$Conf{BackupFilesOnly} = {
  'C$' => [
    '/Testas'
  ]
};
$Conf{SmbSharePasswd} = '*****';
$Conf{SmbShareUserName} = 'EXAMPLE\\Administrator';
$Conf{XferMethod} = 'smb';

```

I want to do 150 clients copys to folder C:\Documents and Settings\username\My Documents.

\*.pl

```
$Conf{BackupFilesOnly} = {
  'C$' => [
    '/Documents and Settings/username/My Documents'
  ]
};
$Conf{SmbSharePasswd} = '*****';
$Conf{SmbShareUserName} = 'EXAMPLE\\Administrator';
$Conf{XferMethod} = 'smb';

```

don't work. why? What lexic I should use?

Answer: 
Are you already running Nagios?

Check out check\_dirsize or check\_filesize\_dir:

<http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/CheckDirSize/details>

<http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check_filesize_dir/details>

Both could be easily adapted to run out of cron if you like.
I would think that [inotifywait(1)](http://linux.die.net/man/1/inotifywait) from [inotify-tools](http://inotify-tools.sourceforge.net/) would be helpful here.