Hi Alex,
thank you for your useful tool.
I am using the command line version and I would like to save the progress percentage to a text file. Is it possible?
I am trying the MD5 feature, but I can't understand how to verify the restored USB device using the MD5 checksum created during the backup procedure.
MD5 verification and command line
-
- Site Admin
- Posts: 285
- Joined: Fri Jul 29, 2011 11:59 pm
Re: MD5 verification and command line
You could try to pipe the command line output into a textfile using the regular commands (usbitcmd [...] > mytextfile.txt), but I'm not sure about the percentage, that is updated. Maybe this won't work. I haven't tried out that myself.
The MD5 feature is intended as an easy way to create it with the image file to provide it for download purposes. There is no checking against the MD5 hash during Restore. For that no MD5 hash file would be needed, because it could be made directly against the backup file during the process.
The MD5 feature is intended as an easy way to create it with the image file to provide it for download purposes. There is no checking against the MD5 hash during Restore. For that no MD5 hash file would be needed, because it could be made directly against the backup file during the process.
-
- Posts: 5
- Joined: Wed Jun 06, 2012 4:03 pm
Re: MD5 verification and command line
Hi Alex, thank you for your reply.
I cannot output the progress percentage to a txt file piping the command, it seems the output is saved only when the whole procedure is completed. Can you add a "save progress to file" feature to the FRL?
Please, can you explain me how "it could be made directly against the backup file during the process"?
I cannot output the progress percentage to a txt file piping the command, it seems the output is saved only when the whole procedure is completed. Can you add a "save progress to file" feature to the FRL?
Please, can you explain me how "it could be made directly against the backup file during the process"?
-
- Site Admin
- Posts: 285
- Joined: Fri Jul 29, 2011 11:59 pm
Re: MD5 verification and command line
You wouldn't need the MD5 hash for the verification, because you can verify the written flash drive bytewise against the image file, after the backup is complete. I will have to check the text file output for the next version.
-
- Posts: 5
- Joined: Wed Jun 06, 2012 4:03 pm
Re: MD5 verification and command line
ok thanks
-
- Site Admin
- Posts: 285
- Joined: Fri Jul 29, 2011 11:59 pm
Re: MD5 verification and command line
implemented with version 1.60 (command line tool)
-
- Posts: 5
- Joined: Wed Jun 06, 2012 4:03 pm
Re: MD5 verification and command line
Hi Alex, thanks so much for implementing the scroll feature. Anyway, it seems the output file is updated only when the clone procedure is completed.
I'm using this command:
usbitcmd.exe r 3 image_file.imz /d /c /h /s > log.txt
Am I missing anything?
I'm using this command:
usbitcmd.exe r 3 image_file.imz /d /c /h /s > log.txt
Am I missing anything?
-
- Site Admin
- Posts: 285
- Joined: Fri Jul 29, 2011 11:59 pm
Re: MD5 verification and command line
You're rigth, unfortunately it seems, that it's not working correctly. I have to check & fix that.
-
- Posts: 5
- Joined: Wed Jun 06, 2012 4:03 pm
Re: MD5 verification and command line
ok, thank you
-
- Site Admin
- Posts: 285
- Joined: Fri Jul 29, 2011 11:59 pm
Re: MD5 verification and command line
I did some more research on piping the output. By default, the output file is write-only and can't be accessed until the writing process has finished. Some workarounds are described here:
http://stackoverflow.com/questions/7964 ... -to-a-file
http://stackoverflow.com/questions/7964 ... -to-a-file