dir_struct: replace snippet/