A young man has appeared at the Old Bailey accused of sharing a large quantity of terrorist material while allegedly preparing to travel to “carry out violent jihad”.