FYI: your iwextattr -l -r !DeploymentAudit doesn't work because you're only negating the "D" and then trying to match "eploymentAudit", which is why you weren't seeing any results.
The valid regex syntax for exclusion would beiwextattr -l -r "!(DeploymentAudit)" {vpath}(added quotes there to hopefully avoid misinterpretation by your prompt). Haven't tried it though.FYI: your iwextattr -l -r !DeploymentAudit doesn't work because you're only negating the "D" and then trying to match "eploymentAudit", which is why you weren't seeing any results.
I want to exlude TeamSite/LiveSite/DeploymentAudit, how can I use iwextattr to make it works ?when I try to use -r which only can give me the include onethis will give me TeamSite/LiveSite/DeploymentAuditiwextattr -l -r DeploymentAudit when I use ! , it gives me nothingiwextattr -l -r !DeploymentAudit iwextattr -l -r !/DeploymentAudit/ TeamSite/LiveSite/DeploymentAudit=xxxxTeamSite/LiveSite/Id=12345 TeamSite/Metadata/CreationDate=2010-08-04 10:11:38 TeamSite/Metadata/Locale=en_US TeamSite/Templating/DCR/Type=List
iwextattr -l file | grep -v Audit