[Samba] [OT?] $RECYCLE.BIN cleanup...

Marco Gaiarin gaio at sv.lnf.it
Tue Dec 11 13:53:10 UTC 2018


I've noted that in my domain (AD) if i do some folder redirection in
GPO, for every folder a $RECYCLE.BIN folder get created. That users
clearly never cleanup.

a) (Windows Side) there's some 'things' (GPO, script, ...) that can cleanup trash
 folders 'file older then X days'? I've found the powershell script
'Clear-RecycleBin', but seems that empty the bin, not 'older then x'...

b) (samba side) if simply i cleanup files 'server side' via a 'find' script, can
 have some troubles 'winows side'? Or windows is sufficient smart to
regenerate the trash folder db?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list