Microsoft
Software
Hardware
Network
Question : korn shell scripting ... extract part of the file name ?
Hai !
This is my question.
i have a file something like my_file_20080810.dat
now i need to look for the file in a folder and then grab the timestamp.
cd directory_in_which_file_is
_present
ls -1 | wc -l =====> if count =1 then ok and now i need to pull the timestamp.
Answer : korn shell scripting ... extract part of the file name ?
The timestamp in the name of the file? then try cut:
ls -1 *.dat | cut -d'_' -f 3|cut -d'.' -f1
Random Solutions
Outlook 2007 will not connect to Exchange 2003 Server...however OWA works and email deliver is live on the Exchange server.
Looking for SATA Driver for Gateway Laptop CX2608
Need Help with Network Configuration
How to make a form open automatically when I open Access
cgi equivalent to the php code
Internet Explorer won't open new window
"Winmail.dat" Attachments?
TSQL decimal
XP Speaker Configuration - forced to 7.1 on boot?
Need help with a batch loop