https://github.com/abbbi/xcbackup
Export all your flights from DHV-XC Portal
https://github.com/abbbi/xcbackup
dhv-xc paragliding
Last synced: 6 months ago
JSON representation
Export all your flights from DHV-XC Portal
- Host: GitHub
- URL: https://github.com/abbbi/xcbackup
- Owner: abbbi
- Created: 2022-06-09T13:01:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T08:22:10.000Z (over 2 years ago)
- Last Synced: 2025-02-09T19:17:09.737Z (8 months ago)
- Topics: dhv-xc, paragliding
- Language: Go
- Homepage:
- Size: 190 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xbackup
Export/Backup all IGC files you have uploaded to DHV-XC. In combination
with [xccat](https://github.com/abbbi/xccat) can also download published flights
from other persons uploaded to DHV-XC.See [xcup](https://github.com/abbbi/xcup) if you want to publish flights from
the command line.
# Usage
```
Usage:
xcbackup [OPTIONS]Application Options:
-u, --user= DHV-XC User name
-p, --pass= DHV-XC User Password
-d, --dir= Target directory
-l, --list List flights only, do not download
-i, --id= Download flight with specific ID only (default: 0)Help Options:
-h, --help Show this help message
```# Examples
List flights (do not download):
```
# xcbackup -u username -p password -l --dir backup/
INFO[0000] Flight ID: [1543836] Takeoff: [Rottach-Egern, Miesbach, Bayern] Date: [2022-06-11]
INFO[0000] Flight ID: [1541261] Takeoff: [Rottach-Egern, Miesbach, Bayern] Date: [2022-05-26]
INFO[0000] Flight ID: [1541256] Takeoff: [Rottach-Egern, Miesbach, Bayern] Date: [2022-06-06]
```Complete backup of all flights:
```
# xcbackup -u username -p password --dir backup/
INFO[0003] Saving flight: [1129188] to: [backup/2019-05-24/1129188.igc]
INFO[0003] Saving flight: [1186753] to: [backup/2019-08-30/1186753.igc]
INFO[0003] Saved [159] flights
```Download specific flight either from your profile or a public flight
uploaded by another person:```
# xcbackup -u username -p password -i 1547554 --dir backup/
INFO[0000] Saving flight: [1547617] to: [backup/today/1547617.igc]
INFO[0000] Saved [1] flights
```