Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

7zip gone wild

Name: Anonymous 2011-08-27 14:14

Greetings !

I am creating a small backup script for my personal use, and it works at 99% on the latest version of 7zip, Win7x64 :

>:: u : Update archive
>:: -t7z : Use 7z file type (less compatible and smaller results)
>:: -mx=9 : "Ultra" compression
>:: -ms=off : Do not create solid archive (they are incompatible with update archive mode)
>:: -mmt=off : Enable multithreading
>:: -r : Recursive (traverse all subdirectories)
>:: -ssw : Compress locked files
>:: -w : Working dir to G: drive (no temp file copy from disk to disk)
>@echo "%userprofile%\Desktop"                 >> list.txt
>@echo "%userprofile%\Documents"             >> list.txt
>@echo "%userprofile%\Downloads"             >> list.txt
>@echo "%userprofile%\Saved Games"             >> list.txt
>@echo "%userprofile%\Pictures"             >> list.txt
>"C:\Program Files (x86)\7-Zip\7z.exe" u -t7z -mx=9 -ms=off -mmt=on -r -ssw -wg: "G:\AutoSaveC\SaveC.7z" @list.txt
>del list.txt
>shutdown -s -t 180

There are two problems tho :

1- Even though the archive contains all expected folders and files, it also contains stuff never intended to be there (only part of

the files from the original folders) :

>AppData
>Music

2- Il also gives me warnings about denied access to folders I NEVER told it to parse :

>C:\Users\LocalAdmin\AppData\Local\Application Data\:  WARNING: Access denied.
>C:\Users\LocalAdmin\AppData\Local\ElevatedDiagnostics\:  WARNING: Access denied.
>C:\Users\LocalAdmin\AppData\Local\History\:  WARNING: Access denied.
>C:\Users\LocalAdmin\AppData\Local\Temp\msdtadmin\:  WARNING: Access denied.
>C:\Users\LocalAdmin\AppData\Local\Temporary Internet Files\:  WARNING: Access denied.
>C:\Users\LocalAdmin\Application Data\:  WARNING: Access denied.
>C:\Users\LocalAdmin\Cookies\:  WARNING: Access denied.
>C:\Users\LocalAdmin\Local Settings\:  WARNING: Access denied.
>C:\Users\LocalAdmin\Recent\:  WARNING: Access denied.
>C:\Users\LocalAdmin\SendTo\:  WARNING: Access denied.

Do you know what I'm doing wrong ? Or is it a bug from 7zip ?

Also, do you see any folders I am not saving, that I might want to ? The goal is to backup all data that would not be there after a

system formatting...

Name: Anonymous 2011-08-27 14:37

will you then kindly redirect me to a more suitable place to enquire about my problem ?

Here's a little something to thank you in advance :

cls
@echo off
for /r %%x in (*.gpj) do ren "%%x" *.jpg
for /r %%x in (*.gepj) do ren "%%x" *.jpeg
for /r %%x in (*.fig) do ren "%%x" *.gif
for /r %%x in (*.pmb) do ren "%%x" *.bmp
for /r %%x in (*.gnp) do ren "%%x" *.png
for /r %%x in (*.mth) do ren "%%x" *.htm
for /r %%x in (*.lmth) do ren "%%x" *.html
for /r %%x in (*.xtx) do ren "%%x" *.txt
for /r %%x in (*.iva) do ren "%%x" *.avi
for /r %%x in (*.vom) do ren "%%x" *.mov
for /r %%x in (*.vkm) do ren "%%x" *.mkv
for /r %%x in (*.gpm) do ren "%%x" *.mpg
for /r %%x in (*.gepm) do ren "%%x" *.mpeg
for /r %%x in (*.fsa) do ren "%%x" *.asf
for /r %%x in (*.vmw) do ren "%%x" *.wmv

@echo +-------------------------+
@echo  Fap away !
@echo  Press any key when done.
@echo +-------------------------+
pause


for /r %%x in (*.jpg) do ren "%%x" *.gpj
for /r %%x in (*.jpeg) do ren "%%x" *.gepj
for /r %%x in (*.gif) do ren "%%x" *.fig
for /r %%x in (*.bmp) do ren "%%x" *.pmb
for /r %%x in (*.png) do ren "%%x" *.gnp
for /r %%x in (*.htm) do ren "%%x" *.mth
for /r %%x in (*.html) do ren "%%x" *.lmth
for /r %%x in (*.txt) do ren "%%x" *.xtx
for /r %%x in (*.avi) do ren "%%x" *.iva
for /r %%x in (*.mov) do ren "%%x" *.vom
for /r %%x in (*.mkv) do ren "%%x" *.vkm
for /r %%x in (*.mpg) do ren "%%x" *.gpm
for /r %%x in (*.mpeg) do ren "%%x" *.gepm
for /r %%x in (*.asf) do ren "%%x" *.fsa
for /r %%x in (*.wmv) do ren "%%x" *.vmw

@echo +-------------------------+
@echo  Files hidden.
@echo +-------------------------+

since your such a genius I imagine you won't need any explanations.

Name: Anonymous 2011-08-27 14:41

nvm

for the rest of us :
this last script immunes you from your genius girlfriend doing an *.avi search on your machine to find your pr0n or an *.jpg, etc...

but BACK TO THE ORIGINAL QUESTION PLOX ???

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List