Command-Line Interface to convert NTFS data format into GTFS data format.
As ntfs2gtfs is not pushed to crates.io yet, you can install it by cloning transit_model.
git clone https://github.com/CanalTP/transit_model
cd transit_model
cargo install --path ntfs2gtfsntfs2gtfs --input /path/to/ntfs/folder/ --output /path/to/gtfs/--inputis the path to a folder containing NTFS data format--outputis the path to a folder where the GTFS will be exported--mode-in-route-short-name(optional) allows adding the commercial mode at the beginning of the route short name.
Get more information about the available options with ntfs2gtfs --help.
As NTFS is the pivot format for conversion, common NTFS rules is useful.
For input and output, see NTFS to GTFS specifications.