Hello,
I'm trying to use cut command to retrieve timestamp from a list of files in a certain folder. It seems that cut command mesing up with the spaces
fileTimestamp="`ls -l ${BASE_DIR}/some_dir/${fileName}`" --I
somevar="`echo $fileTimestamp | cut -c 1-40`" ---II
The results of the (II)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.