Hi Chris, Attached you can find a sample file. The only thing different in other files is that the order of the keys might differ. Let’s also assume all keys of “Eventtimestamp” do not have any corresponding value. What I want to do is: Batch process all files `event.txt` under `events` events - event-1 - event.txt - event-2 - event.txt - event-3 - event.txt Create a UNIX timestamp (epoch) from the `Date` and `Time` values and add that timestamp after “Eventtimestamp: “ Nothing else needs to be added or removed. Hope this clarifies what I’m trying to do. Best regards, Holger This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To post to this group, send email to bbedit@googlegroups.com. Visit this group at https://groups.google.com/group/bbedit. |
Title: 2019-01-04-14:00 ----
Eventslug: reststrom ---- Date: 2019-01-04 ---- Time: 14:00 ---- Hidetime: 0 ---- Status: ---- Locationid: theater ---- Hidetickets: 0 ---- Line: ---- Eventtimestamp: 1546606800 ---- Published: 2019-01-04 13:01
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To post to this group, send email to bbedit@googlegroups.com. Visit this group at https://groups.google.com/group/bbedit. |