Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ## example of gogrepo.py's automatization. Improvements will be welcome!
- ## this script is written for a setup, when it lies in same directory as gogrepo.py and its downloads
- ## also needs gogrepo.py to be logged in
- # get to script's location
- cd "`dirname "$0"`"
- # update our local database
- ## I use "hidden" folder on site as place for games, I dont want to download any time soon - so its skipped
- ## I also play both linux and wine games, so - it gets info regarding both
- ## If you are using anything else than english - dont forget to add/change stuff after -lang
- python ./gogrepo.py update -os windows linux -lang en -skiphidden -installers standalone
- # move outdated files into !orphaned folder
- ## its not really hard to automate deletion of files too, however I always prefer to do that manually. Just in case
- python ./gogrepo.py clean "."
- # now its time to download/update some games
- ## things below are just examples - feel free to change them as you please
- ## there may be as many lines as you wish - if nothing has changed, games wont be redownloaded
- # windows
- python ./gogrepo.py download -os windows -lang en -ids grim_dawn -skipgalaxy
- python ./gogrepo.py download -os windows -lang en -ids ys* -skipgalaxy
- # linux
- python ./gogrepo.py download -os linux -lang en -ids tales_of_majeyal -skipgalaxy
Add Comment
Please, Sign In to add comment