Search Results

Search: Posts Made By: spacebar
3,112
Posted By spacebar
This is one way to do it: $...
This is one way to do it:
$ FILEN="MYFILE_NAME_20130221000026.CSV"

$ datetime=$(echo $FILEN | tr -cd '[[:digit:]]')

$ echo $datetime
20130221000026
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy