2
I'd like to be able to parse a text file which contains data such as:
2014-08-06 18:06:15 e:\shared\filename1.Shared orphan entry BM-100
2014-08-06 18:46:15 e:\shared\filename222.Shared orphan entry BM-214
2014-08-06 18:53:15 e:\shared\filename92.Shared orphan entry BM-674
This is on Windows and I'd like to be able to run a batch file script to remove the date string and text following the .shared file extension. Any ideas?
There are of course more elegant solutions, with a single call to sed, but I thought that the two calls made the actions a little clearer - http://www.grymoire.com/unix/sed.html will tell you all you need to know about sed if you want a better command.
– AFH – 2014-08-06T21:23:31.007