mv path and pattern to protected