>>rm -R *.php.bak >> >> > You're being tripped up by shell expansion. Quote your file pattern: > rm -R "*.php.bak" This didn't even remove .php.bak files within the current directory, never mind the subdirectories. Garry -- Gllug mailing list - Gllug at gllug.org.uk http://lists.gllug.org.uk/mailman/listinfo/gllug