Fix update of deleted files
parent
4b25effbc9
commit
6f99c58c4c
|
@ -16,3 +16,5 @@ Currently packaged is the ownCloud client version 1.8.0 (build 4893) from https:
|
|||
|
||||
### 7-Zip
|
||||
For encrypted packaging a 7za.exe is included. This is the official portable one in version 9.38 beta from http://www.7-zip.org/download.html.
|
||||
|
||||
If you ask yourself if 7-Zip is secure enough, please reefer to http://security.stackexchange.com/questions/29375/is-7-zips-aes-encryption-just-as-secure-as-truecrypts-version.
|
||||
|
|
|
@ -31,6 +31,9 @@ echo Starting ownCloud client. >> %LOG_FILE%
|
|||
START /WAIT ownCloudPortable\ownCloudPortable.exe >> %LOG_FILE%
|
||||
|
||||
echo Encrypting ownCloud client and data... >> %LOG_FILE%
|
||||
:: First we need to remove the old mutable data to guarantee deletion of files.
|
||||
%SEVENEXE% d documents-sync.7z ownCloudPortable/Data/* -r -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% d documents-sync.7z Documents/* -r -p%PASSWD% -y >> %LOG_FILE%
|
||||
:: Explanation:
|
||||
:: -mhe to encrypt headers so nobody can browse the archive
|
||||
:: -mx0 to not compress the archiv (only for performance)
|
||||
|
|
Loading…
Reference in New Issue