Is there any way in bash to parse this filename :
$file = dos1-20120514104538.csv.3310686
into variables like $date = 2012-05-14 10:45:38 and $id = 3310686 ?
$date = 2012-05-14 10:45:38
$id = 3310686
Thank you
No comments:
Post a Comment