Can someone make a simple zenity script for zsync which just takes the location of the file to be synced and the zsync file and show progress ?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
zsync has terrible output for parsing. You'd be crazy to attempt that. That said, I'm apparently crazy.
The script will have a lot of weaknesses. Any slight change in the output of zsync in a newer version would likely break it. (Only tested against Ubuntu 10.04's zsync v0.6.1). For some odd reason it outputs some of the progress to stdout, and some to stderr, which makes it extra hard to parse. Also, it won't handle certain odd characters in filenames, like Expect bugs; I haven't really tested it that much. Anyway, I had never heard of zsync before. It's a neat tool, so thanks for letting me know about it at least. :) Screenshots :
|
||||
|
|

