Friday, May 31, 2013

Concise and Reliable Backups with WinRar

I use the following BAT file to do daily backups:
start /b C:\Program Files\WinRAR\winrar a -u -as -r -ms N:\ProjectsBackup.rar c:\users\depidsvy\NetBeansProjects\
  • start /b - open WinRar and close the black CMD window immediately (as opposed to keep it open while archiving)
  • a - add new files
  • -u - keep unchanged files - don't repack again
  • -as - delete deleted files from the archive
  • -r - with subfolders
  • -ms - don't pack, include as they are the following files: 7z, ace, arj, bz2, cab, gz, jpeg, jpg, lha, lzh, mp3, rar, taz, tgz, z, zip

Monday, May 27, 2013

Force charging Prius battery

Everybody knows how to force discharging Prius battery - that's what the EV button is for. Today, being afraid of the red triangle error, I wanted to charge the battery before going to the automatic washing booth. Pressing gas pedal while in [P] doesn't charge. But pressing both brake and gas pedals in the same time in [D] did the trick.