in reply to Re^4: Manipulating directory pathsin thread Manipulating directory paths
$path=~ s{ /log/ .* \z}{/xyz/}xms; [download]