7zip or RAR your project files and folders!

Costas

Administrator
Staff member
A command line, place is to the root folder where contains all your PRJ folders, save is as backup.bat

download 7-Zip Command Line Version from http://www.7-zip.org/download.html

JavaScript:
7z a mybackup.7z *.* -r -x!*.dll -x!*.exe -x!*.dat -x!*.7z -x!*.xml -x!*.db3 -x!*.msg -ppassword


for RAR use :
JavaScript:
@ECHO OFF
CLS

SET BASEPATH=j:\sourcepath

FOR /D %%i IN (%basepath%\*.*) DO (
  RAR.exe a -r "-pyourpassword" -x*\bin -x*\obj -x*.rar -x*.zip -x*.7z -x*.exe -ep1 "U:\upload\%%~ni.rar" -s "%%i"
)

REM %%~ni = folder name only
REM %%i   = fullpath
REM enumerate folders - http://ss64.com/nt/for_d.html
REM if u remove /D enumerate files

sample :
c6HdsH.png



then upload it at https://hubic.com




#backup
 
Top