Code Monkey home page Code Monkey logo

xcbackup's Introduction

xbackup

Export/Backup all IGC files you have uploaded to DHV-XC. In combination with xccat can also download published flights from other persons uploaded to DHV-XC.

See xcup if you want to publish flights from the command line.

Alt text

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

xcbackup's People

Contributors

abbbi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.