1 Feb
2008
1 Feb
'08
3:35 p.m.
Mark Rogers <mark@quarella.co.uk> wrote:
So either I need to find a way to get the fullname of the owner (I know stat will do this but I have a lot these to do and I can't see a good way to just get a list)
This may be dangerous:- find . -maxdepth 1 -printf 'su %u -c "rm -r %p"\n' | sh -x Hope that helps, -- MJ Ray http://mjr.towers.org.uk/email.html tel:+44-844-4437-237 - Webmaster-developer, statistician, sysadmin, online shop builder, consumer and workers co-operative member http://www.ttllp.co.uk/ - Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/