I'm stuck trying to figure out the perl regex to extract the following values: (the /home/mail/dump dirs will always be the same). Thanks.
abc
123456
This is the output:
drwxr-xr-x - mail_hd mail_users 0 2011-03-26 20:12 /home/mail/dump/abc
drwxr-xr-x - mail_hd mail_users 0 2011-04-15 09:10 /home/mail/dump/123456