Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.db.voxforge bob.db.voxforge
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.db.voxforgebob.db.voxforge
  • Issues
  • #4
Closed
Open
Issue created Dec 27, 2015 by André Anjos@andre.anjos💬Owner

Aborting and resuming the download script

Created by: 1kastner

The download and untar script checks whether a directory already exists and in that case it skips it. So generally speaking the script is capable of being aborted and resumed at a later point. Only one problem exists: if you start to download the same file the second time, wget adds ".[number]" at the end of the file, so "file.tgz.1" for the second attempt and so on. That means, the script in its current implementation processes the first download attempt and hence the broken file. One fix which is customized for my personal needs can be found at https://gist.github.com/1kastner/46a6e8510c47901cb55d - I am not that well in shell scripting. It should take the file name "name.tgz.[HIGHEST_NUMBER]" instead of the first download attempt. I hope I could make my point clear.

Assignee
Assign to
Time tracking