Mark directories