Avoid recursing into . and .. when in -r mode