first commit

This commit is contained in:
Matthew Shillam 2018-10-17 21:53:36 +01:00
commit 45be7c57f0
28 changed files with 998 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
Duplicati_installer_v0.1.exe
archived_files.7z
InstallUtil.InstallLog
.DS_Store

BIN
7z.exe Normal file

Binary file not shown.

BIN
7zSD.sfx Executable file

Binary file not shown.

BIN
7za.dll Normal file

Binary file not shown.

BIN
7zxa.dll Normal file

Binary file not shown.

85
Far/7-ZipEng.hlf Normal file
View File

@ -0,0 +1,85 @@
.Language=English,English
.PluginContents=7-Zip Plugin
@Contents
$^#7-Zip Plugin 18.05#
$^#Copyright (c) 1999-2018 Igor Pavlov#
This FAR module performs transparent #archive# processing.
Files in the archive are handled in the same manner as if they
were in a folder.
~Extracting from the archive~@Extract@
~Add files to the archive~@Update@
~7-Zip Plugin configuration~@Config@
Web site: #www.7-zip.org#
@Extract
$ #Extracting from the archive#
In this dialog you may enter extracting mode.
Path mode
#Full pathnames# Extract files with full pathnames.
#Current pathnames# Extract files with all relative paths.
#No pathnames# Extract files without folder paths.
Overwrite mode
#Ask before overwrite# Ask before overwriting existing files.
#Overwrite without prompt# Overwrite existing files without prompt.
#Skip existing files# Skip extracting of existing files.
Files
#Selected files# Extract only selected files.
#All files# Extract all files from archive.
@Update
$ #Add files to the archive#
This dialog allows you to specify options for process of updating archive.
Compression method
#Store# Files will be copied to archive without compression.
#Normal# Files will be compressed.
#Maximum# Files will be compressed with method that gives
maximum compression ratio.
Update mode
#Add and replace files# Add all specified files to the archive.
#Update and add files# Update older files in the archive and add
files that are new to the archive.
#Freshen existing files# Update specified files in the archive that
are older than the selected disk files.
#Synchronize files# Replace specified files only if
added files are newer. Always add those
files, which are not present in the
archive. Delete from archive those files,
which are not present on the disk.
@Config
$ #7-Zip Plugin configuration#
In this dialog you may change following parameters:
#Plugin is used by default# Plugin is used by default.

211
Far/7-ZipEng.lng Normal file
View File

@ -0,0 +1,211 @@
.Language=English,English
"Ok"
"&Cancel"
"Warning"
"Error"
"Format"
"Properties"
"Yes"
"No"
"Get password"
"Enter password"
"Extract"
"&Extract to"
"Path mode"
"&Full pathnames"
"C&urrent pathnames"
"&No pathnames"
"Overwrite mode"
"As&k before overwrite"
"&Overwrite without prompt"
"Sk&ip existing files"
"A&uto rename"
"A&uto rename existing files"
"Extract"
"&Selected files"
"A&ll files"
"&Password"
"Extr&act"
"&Cancel"
"Can not open output file '%s'."
"Unsupported compression method for '%s'."
"CRC failed in '%s'."
"Data error in '%s'."
"CRC failed in encrypted file '%s'. Wrong password?"
"Data error in encrypted file '%s'. Wrong password?"
"Confirm File Replace"
"Destination folder already contains processed file."
"Would you like to replace the existing file"
"with this one"
"bytes"
"modified on"
"&Yes"
"Yes to &All"
"&No"
"No to A&ll"
"A&uto rename"
"&Cancel"
"Update operations are not supported for this archive."
"Delete from archive"
"Delete \"%.40s\" from the archive"
"Delete selected files from the archive"
"Delete %d files from the archive"
"Delete"
"Cancel"
"Add files to archive"
"Add to %s a&rchive:"
"Compression method"
"&Store"
"Fas&test"
"&Fast"
"&Normal"
"&Maximum"
"&Ultra"
"Update mode"
"A&dd and replace files"
"&Update and add files"
"&Freshen existing files"
"S&ynchronize files"
"&Add"
"Se&lect archiver"
"Select archive format"
"Wait"
"Reading the archive"
"Extracting from the archive"
"Deleting from the archive"
"Updating the archive"
"Move operation is not supported"
"7-Zip"
"7-Zip (add to archive)"
"7-Zip"
"Plugin is used by default"
"0"
"1"
"2"
"Path"
"Name"
"Extension"
"Is Folder"
"Size"
"Packed Size"
"Attributes"
"Created"
"Accessed"
"Modified"
"Solid"
"Commented"
"Encrypted"
"Splited Before"
"Splited After"
"Dictionary Size"
"CRC"
"Type"
"Anti"
"Method"
"Host OS"
"File System"
"User"
"Group"
"Block"
"Comment"
"Position"
"Path Prefix"
"Folders"
"Files"
"Version"
"Volume"
"Multivolume"
"Offset"
"Links"
"Blocks"
"Volumes"
"Time Type"
"64-bit"
"Big-endian"
"CPU"
"Physical Size"
"Headers Size"
"Checksum"
"Characteristics"
"Virtual Address"
"ID"
"Short Name"
"Creator Application"
"Sector Size"
"Mode"
"Symbolic Link"
"Error"
"Total Size"
"Free Space"
"Cluster Size"
"Label"
"Local Name"
"Provider"
"NT Security"
"Alternate Stream"
"Aux"
"Deleted"
"Tree"
"SHA-1"
"SHA-256"
"Error Type"
"Errors"
"Errors"
"Warnings"
"Warning"
"Streams"
"Alternate Streams"
"Alternate Streams Size"
"Virtual Size"
"Unpack Size"
"Total Physical Size"
"Volume Index"
"SubType"
"Short Comment"
"Code Page"
"Is not archive type"
"Physical Size can't be detected"
"Zeros Tail Is Allowed"
"Tail Size"
"Embedded Stub Size"
"Link"
"Hard Link"
"iNode"
"Stream ID"
"Read-only"
"Out Name"
"Copy Link"

BIN
Far/7-ZipFar.dll Normal file

Binary file not shown.

BIN
Far/7-ZipFar64.dll Normal file

Binary file not shown.

84
Far/7-ZipRus.hlf Normal file
View File

@ -0,0 +1,84 @@
.Language=Russian,Russian (<28>ãá᪨©)
.PluginContents=<3D>« £¨­ 7-Zip
@Contents
$^#7-Zip Plugin 18.05#
$^#Copyright (c) 1999-2018 Igor Pavlov#
<20>â®â ¬®¤ã«ì FAR ¯®§¢®«ï¥â à ¡®â âì á # à娢 ¬¨#. „«ï ¯®«ì§®¢ â¥«ï
ä ©«ë ¢  à娢 å ­¥ ®â«¨ç îâáï ®â ä ©«®¢ ¢ ¯ ¯ª å.
~<7E> á¯ ª®¢ª  ä ©«®¢ ¨§  à娢 ~@Extract@
~„®¡ ¢«¥­¨¥ ä ©«®¢ ª  à娢ã~@Update@
~<7E> à ¬¥âàë à ¡®âë á  à娢 ¬¨~@Config@
Web site: #www.7-zip.org#
@Extract
$ #<23> á¯ ª®¢ª  ä ©«®¢ ¨§  à娢 #
í⮬ ¤¨ «®£¥ ¢ë ¬®¦¥â¥ ¢¢¥á⨠¯ãâì ¤«ï à á¯ ª®¢ª¨ ä ©«®¢ ¨ § ¤ âì
०¨¬ à á¯ ª®¢ª¨.
<20>ãâ¨
#<23>®«­ë¥ ¯ãâ¨# <20> á¯ ª®¢ âì ä ©«ë á ¯®«­ë¬¨ ¯ãâﬨ.
#Žâ­®á¨â¥«ì­ë¥ ¯ãâ¨# <20> á¯ ª®¢ âì á ®â­®á¨â¥«ì­ë¬¨ ¯ãâﬨ.
#<23>¥§ ¯ã⥩# <20> á¯ ª®¢ âì ¡¥§ ¯ã⥩.
<20>¥à¥§ ¯¨áì
#‘¯à è¨¢ âì ¯®¤â¢¥à¦¤¥­¨¥# ‘¯à è¨¢ âì ¯®¤â¢¥à¦¤¥­¨¥ ­ 
¯¥à¥§ ¯¨áì áãé¥áâ¢ãî饣® ä ©« .
#<23>¥§ ¯®¤â¢¥à¦¤¥­¨ï# ‡ ¬¥é âì áãé¥áâ¢ãî騩 ä ©«
¡¥§ ¯®¤â¢¥à¦¤¥­¨ï.
#<23>யã᪠âì# <20>யã᪠âì áãé¥áâ¢ãî騥 ä ©«ë.
<20> á¯ ª®¢ âì
#‚ë¡à ­­ë¥ ä ©«ë# <20> á¯ ª®¢ âì ⮫쪮 ¢ë¤¥«¥­­ë¥ ä ©«ë ¨§  à娢 .
#‚ᥠ䠩«ë# <20> á¯ ª®¢ âì ¢á¥ ä ©«ë ¨§  à娢 .
@Update
$ #„®¡ ¢«¥­¨¥ ä ©«®¢ ª  à娢ã#
í⮬ ¤¨ «®£¥ ¢ë ¬®¦¥â¥ § ¤ âì ०¨¬ 㯠ª®¢ª¨.
Œ¥â®¤ ᦠâ¨ï:
#<23>¥§ ᦠâ¨ï# ” ©«ë ¡ã¤ãâ ᪮¯¨à®¢ ­ë ¡¥§ ᦠâ¨ï.
#<23>®à¬ «ì­®¥ ᦠ⨥# ” ©«ë ¡ã¤ãâ ᦠâë.
#Œ ªá¨¬ «ì­®¥ ᦠ⨥# ” ©«ë ¡ã¤ãâ ᦠâë á ¬ ªá¨¬ «ì­®©
á⥯¥­ìî ᦠâ¨ï.
<20>¥¦¨¬ ¨§¬¥­¥­¨ï:
#„®¡ ¢¨âì ¨ § ¬¥­¨âì# „®¡ ¢¨âì ¢á¥ ¢ë¡à ­­ë¥ ä ©«ë ¢  à娢.
#Ž¡­®¢¨âì ¨ ¤®¡ ¢¨âì# Ž¡­®¢¨âì ãáâ à¥¢è¨¥ ä ©«ë ¢  à娢¥ ¨
¤®¡ ¢¨âì ä ©«ë, ª®â®àëå ­¥â ¢  à娢¥.
#Ž¡­®¢¨âì# Ž¡­®¢¨âì ãáâ à¥¢è¨¥ ä ©«ë ¢  à娢¥.
#‘¨­åà®­¨§¨à®¢ âì# ‘¨­åà®­¨§¨à®¢ âì ᮤ¥à¦¨¬®¥  à娢 
á ¢ë¡à ­­ë¬¨ ä ©« ¬¨.
@Config
$ #<23> à ¬¥âàë à ¡®âë á ¯« £¨­®¬ 7-Zip#
í⮬ ¤¨ «®£¥ ¢ë ¬®¦¥â¥ ¨§¬¥­¨âì á«¥¤ãî騥 ¯ à ¬¥âàë:
#<23>« £¨­ ¨á¯®«ì§ã¥âáï ¯® 㬮«ç ­¨î# <20>« £¨­ ¨á¯®«ì§ã¥âáï ¯® 㬮«ç ­¨î

211
Far/7-ZipRus.lng Normal file
View File

@ -0,0 +1,211 @@
.Language=Russian,Russian (<28>ãá᪨©)
"<22>த®«¦¨âì"
"&Žâ¬¥­¨âì"
"<22>।ã¯à¥¦¤¥­¨¥"
"Žè¨¡ª "
"”®à¬ â"
"‘¢®©á⢠"
"„ "
"<22>¥â"
"‚¢®¤ ¯ à®«ï"
"‚¢¥¤¨â¥ ¯ à®«ì"
"<22> á¯ ª®¢ª "
"&<26> á¯ ª®¢ âì ¢"
"<22>ãâ¨"
"<22>®&«­ë¥ ¯ãâ¨"
"Ž&â­®á¨â¥«ì­ë¥ ¯ãâ¨"
"&<26>¥§ ¯ã⥩"
"<22>¥à¥§ ¯¨áì"
"&‘¯à è¨¢ âì ¯®¤â¢¥à¦¤¥­¨¥"
"<22>&¥§ ¯®¤â¢¥à¦¤¥­¨ï"
"<22>ய&ã᪠âì"
"<22>¥à¥¨¬¥­®¢ âì  ¢â®¬."
"<22>¥à¥¨¬.  ¢â®¬. áãé¥áâ¢."
"<22> á¯ ª®¢ âì"
"&ë¡à ­­ë¥ ä ©«ë"
"‚ᥠ&ä ©«ë"
"&<26> à®«ì"
"<22>& á¯ ª®¢ âì"
"&Žâ¬¥­¨âì"
"<22>¥¢®§¬®¦­® ®âªàëâì ä ©« '%s'."
"<22>¥¯®¤¤¥à¦¨¢ ¥¬ë© ¬¥â®¤ ᦠâ¨ï ¤«ï ä ©«  '%s'."
"Žè¨¡ª  CRC ¢ '%s'."
"Žè¨¡ª  ¢ ¤ ­­ëå ¢ '%s'."
"Žè¨¡ª  CRC ¤«ï § è¨ä஢ ­­®£® ä ©«  '%s'. <20>¥¢¥à­ë© ¯ à®«ì?"
"Žè¨¡ª  ¢ ¤ ­­ëå § è¨ä஢ ­­®£® ä ©«  '%s'. <20>¥¢¥à­ë© ¯ à®«ì?"
"<22>®¤â¢¥à¤¨â¥ § ¬¥­ã ä ©« "
"<22> ¯ª  㦥 ᮤ¥à¦¨â ®¡à ¡ â뢠¥¬ë© ä ©«."
"‡ ¬¥­¨âì áãé¥áâ¢ãî騩 ä ©«"
"á«¥¤ãî騬 ä ©«®¬"
"¡ ©â"
"¨§¬¥­¥­"
"&„ "
"„  ¤«ï &¢á¥å"
"&<26>¥â"
"<22>¥â ¤«ï ¢&á¥å"
"<22>¥à¥¨¬¥­®¢ âì  ¢â®¬ â¨ç¥áª¨"
"&Žâ¬¥­¨âì"
"„«ï í⮣®  à娢  ®¯¥à æ¨¨ ¨§¬¥­¥­¨ï ­¥ ¯®¤¤¥à¦¨¢ îâáï."
"“¤ «¥­¨¥ ¨§  à娢 "
"“¤ «¨âì \"%.40s\" ¨§  à娢 "
"“¤ «¨âì ¢ë¡à ­­ë¥ ä ©«ë ¨§  à娢 "
"“¤ «¨âì %d ä ©«®¢ ¨§  à娢 "
"“¤ «¥­¨¥"
"Žâ¬¥­ "
"„®¡ ¢¨âì ä ©«ë ª  à娢ã"
"„®¡ ¢¨âì ª %s & à娢ã"
"Œ¥â®¤ ᦠâ¨ï"
"<22>¥§ ᦠâ¨ï"
"‘ª®à®áâ­®©"
"<22>ëáâàë©"
"<22>®à¬ «ì­ë©"
"Œ ªá¨¬ «ì­ë©"
"“«ìâà "
"<22>¥¦¨¬ ¨§¬¥­¥­¨ï"
"„®¡ ¢¨âì ¨ § ¬¥­¨âì"
"Ž¡­®¢¨âì ¨ ¤®¡ ¢¨âì"
"Ž¡­®¢¨âì"
"‘¨­åà®­¨§¨à®¢ âì"
"&„®¡ ¢¨âì"
"€&à娢 â®à"
"‚ë¡®à  à娢­®£® ä®à¬ â "
"<22>®¤®¦¤¨â¥"
"—⥭¨¥  à娢 "
"<22> á¯ ª®¢ª "
"“¤ «¥­¨¥"
"ˆ§¬¥­¥­¨¥"
"<22>¥à¥¬¥é¥­¨¥ ä ©«®¢ ­¥ ¯®¤¤¥à¦¨¢ ¥âáï"
"7-Zip"
"7-Zip (¤®¡ ¢¨âì ¢  à娢)"
"7-Zip configuration"
"<22>« £¨­ ¨á¯®«ì§ã¥âáï ¯® 㬮«ç ­¨î"
"0"
"1"
"2"
"<22>ãâì"
"ˆ¬ï"
"<22> áè¨à¥­¨¥"
"<22> ¯ª "
"<22> §¬¥à"
"‘¦ âë©"
"€âਡãâë"
"‘®§¤ ­"
"Žâªàëâ"
"ˆ§¬¥­¥­"
"<22>¥¯à¥à뢭ë©"
"Š®¬¬¥­â à¨©"
"‡ è¨ä஢ ­"
"<22> §¡¨â „®"
"<22> §¡¨â <20>®á«¥"
"‘«®¢ àì"
"CRC"
"’¨¯"
"€­â¨"
"Œ¥â®¤"
"‘¨á⥬ "
"” ©«®¢ ï ‘¨á⥬ "
"<22>®«ì§®¢ â¥«ì"
"ƒà㯯 "
"<22>«®ª"
"Š®¬¬¥­â à¨©"
"<22>®§¨æ¨ï"
"<22>ãâì"
"<22> ¯®ª"
"” ©«®¢"
"‚¥àá¨ï"
"’®¬"
"Œ­®£®â®¬­ë©"
"‘¬¥é¥­¨¥"
"‘áë«®ª"
"<22>«®ª®¢"
"’®¬®¢"
"Time Type"
"64-bit"
"Big-endian"
"<22>à®æ¥áá®à"
"”¨§¨ç¥áª¨© <20> §¬¥à"
"<22> §¬¥à ‡ £®«®¢ª®¢"
"Š®­âà. ‘㬬 "
"• à ªâ¥à¨á⨪¨"
"‚¨àâã «ì­ë© €¤à¥á"
"ID"
"Š®à®âª®¥ ¨¬ï"
"<22>ணࠬ¬ "
"<22> §¬¥à ᥪâ®à "
"<22>¥¦¨¬"
"‘¨¬¢®«ì­ ï ‘á뫪 "
"Žè¨¡ª "
"…¬ª®áâì"
"‘¢®¡®¤­®"
"<22> §¬¥à ª« áâ¥à "
"Œ¥âª "
"‹®ª «ì­®¥ ¨¬ï"
"<22>஢ ©¤¥à"
"NT <20>¥§®¯ á­®áâì"
"€«ìâ¥à­ â¨¢­ë© <20>®â®ª"
"Aux"
"“¤ «¥­­ë©"
"„¥à¥¢®"
"SHA-1"
"SHA-256"
"’¨¯ Žè¨¡ª¨"
"Žè¨¡ª¨"
"Žè¨¡ª¨"
"<22>।ã¯à¥¦¤¥­¨ï"
"<22>।ã¯à¥¦¤¥­¨¥"
"<22>®â®ª¨"
"€«ìâ¥à­ â¨¢­ë¥ <20>®â®ª¨"
"<22> §¬¥à €«ìâ¥à­ â¨¢­ëå ¯®â®ª®¢"
"‚¨àâã «ì­ë© <20> §¬¥à"
"<22> á¯ ª®¢ ­­ë© <20> §¬¥à"
"ޡ鍩 ”¨§¨ç¥áª¨© <20> §¬¥à"
"<22>®¬¥à ’®¬ "
"<22>®¤â¨¯"
"Š®à®âª¨© Š®¬¬¥­â à¨©"
"Š®¤®¢ ï ‘âà ­¨æ "
"Is not archive type"
"Physical Size can't be detected"
"Zeros Tail Is Allowed"
"<22> §¬¥à Žáâ âª "
"<22> §¬¥à ‚áâ஥­­®£® <20>«®ª "
"‘á뫪 "
"†¥áâª ï ‘á뫪 "
"iNode"
"ID <20>®â®ª "
"’®«ìª® ¤«ï ç⥭¨ï"
"Out Name"
"Copy Link"

67
Far/7zToFar.ini Normal file
View File

@ -0,0 +1,67 @@
; 7z supporting for MutiArc in Far
; Append the following strings to file
; ..\Program Files\Far\Plugins\MultiArc\Formats\Custom.ini
[7z]
TypeName=7z
ID=37 7A BC AF 27 1C
IDPos=
IDOnly=1
Extension=7z
List=7z l -- %%AQ
Start="^-----"
End="^-----"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract=7z x {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
ExtractWithoutPath=7z e {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
Test=7z t {-p%%P} -r0 -scsDOS -- %%A @%%LQMN
Delete=7z d {-p%%P} -r0 -ms=off -scsDOS -- %%A @%%LQMN
Add=7z a {-p%%P} -r0 -t7z {%%S} -scsDOS -- %%A @%%LQMN
AddRecurse=7z a {-p%%P} -r0 -t7z {%%S} -scsDOS -- %%A @%%LQMN
AllFilesMask="*"
[rpm]
TypeName=rpm
ID=ED AB EE DB
IDPos=
IDOnly=1
Extension=rpm
List=7z l -- %%AQ
Start="^-----"
End="^-----"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract=7z x {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
ExtractWithoutPath=7z e {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
Test=7z t {-p%%P} -r0 -scsDOS -- %%A @%%LQMN
AllFilesMask="*"
[cpio]
TypeName=cpio
ID=
IDPos=
IDOnly=0
Extension=cpio
List=7z l -- %%AQ
Start="^-----"
End="^-----"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract=7z x {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
ExtractWithoutPath=7z e {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
Test=7z t {-p%%P} -r0 -scsDOS -- %%A @%%LQMN
AllFilesMask="*"
[deb]
TypeName=deb
ID=
IDPos=
IDOnly=0
Extension=deb
List=7z l -- %%AQ
Start="^-----"
End="^-----"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract=7z x {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
ExtractWithoutPath=7z e {-p%%P} -r0 -y -scsDOS -- %%A @%%LQMN
Test=7z t {-p%%P} -r0 -scsDOS -- %%A @%%LQMN
AllFilesMask="*"

67
Far/far7z.reg Normal file
View File

@ -0,0 +1,67 @@
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\ZIP]
"Extract"="7z x {-p%%P} -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e {-p%%P} -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t {-p%%P} -r0 -scsDOS -i@%%LQMN -- %%A"
"Delete"="7z d {-p%%P} -r0 {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Add"="7z a {-p%%P} -r0 -tzip {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AddRecurse"="7z a {-p%%P} -r0 -tzip {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\TAR]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"Delete"="7z d -r0 {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Add"="7z a -r0 -y -ttar {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AddRecurse"="7z a -r0 -y -ttar {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\GZIP]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"Delete"="7z d -r0 {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Add"="7z a -r0 -tgzip {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AddRecurse"="7z a -r0 -tgzip {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\BZIP]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"Delete"="7z d -r0 {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Add"="7z a -r0 -tbzip2 {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AddRecurse"="7z a -r0 -tbzip2 {-w%%W} {%%S} -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\ARJ]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\CAB]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\LZH]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\RAR]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\Z(Unix)]
"Extract"="7z x -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"ExtractWithoutPath"="7z e -r0 -y {-w%%W} -scsDOS -i@%%LQMN -- %%A"
"Test"="7z t -r0 -scsDOS -i@%%LQMN -- %%A"
"AllFilesMask"="*"

67
Far/far7z.txt Normal file
View File

@ -0,0 +1,67 @@
7-Zip Plugin for FAR Manager
----------------------------
FAR Manager is a file manager working in text mode.
You can download "FAR Manager" from site:
http://www.farmanager.com
Files:
far7z.txt - This file
far7z.reg - Regisrty file for MultiArc Plugin
7zToFar.ini - Supporting 7z for MultiArc Plugin
7-ZipFar.dll - 7-Zip Plugin for FAR Manager
7-ZipEng.hlf - Help file in English for FAR Manager
7-ZipRus.hlf - Help file in Russian for FAR Manager
7-ZipEng.lng - Plugin message strings in English for FAR Manager
7-ZipRus.lng - Plugin message strings in Russian for FAR Manager
There are two ways to use 7-Zip with FAR Manager:
1) Via 7-Zip FAR Plugin (it's recommended way).
2) Via standard MultiArc Plugin.
7-Zip FAR Plugin
~~~~~~~~~~~~~~~~
7-Zip FAR Plugin is first level plugin for FAR Manager, like MultiArc plugin.
It very fast extracts and updates files in archive, since it doesn't use
external programs. It supports all formats supported by 7-Zip:
7z, ZIP, RAR, CAB, ARJ, GZIP, BZIP2, Z, TAR, CPIO, RPM and DEB.
To install 7-Zip FAR Plugin:
1) Create "7-Zip" folder in ...\Program Files\Far\Plugins folder.
2) Copy all files from "FAR" folder of this package to created folder.
3) Install 7-Zip, or copy 7z.dll from 7-Zip to Program Files\Far\Plugins\7-Zip\
4) Restart FAR.
You can open archives with one of the following ways:
* Pressing Enter.
* Pressing Ctrl-PgDown.
* Pressing F11 and selecting 7-Zip item.
You can create new archives with 7-Zip by pressing F11 and
selecting 7-Zip (add to archive) item.
If you think that some operations with archives is better to do with MultiArc Plugin,
you can disable 7-Zip plugin via Options / Pligin configuration / 7-Zip. In such mode
opening archives by pressing Enter and Ctrl-PgDown will start MultiArc Plugin. And
if you want to open archive with 7-Zip, press F11 and select 7-Zip item.
Using command line 7-Zip via MultiArc Plugin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you want to use 7-Zip via MultiArc Plugin, you must
register file far7z.reg.
If you want to use 7z archives via MultiArc Plugin, you must
append contents of file Far\7zToFar.ini to file
..\Program Files\Far\Plugins\MultiArc\Formats\Custom.ini.
If you want to cancel using 7-Zip by MultiArc, just remove lines that contain
7-Zip (7z) program name from HKEY_LOCAL_MACHINE\SOFTWARE\Far\Plugins\MultiArc\ZIP
registry key.

0
README.md Normal file
View File

5
config.txt Executable file
View File

@ -0,0 +1,5 @@
;!@Install@!UTF-8!
Title="My Dental Backup Installer (t00t)"
BeginPrompt="Run Mats Mad cool setup script?"
ExecuteFile="setup_duplicati.bat"
;!@InstallEnd@!

24
create_zip.bat Executable file
View File

@ -0,0 +1,24 @@
@echo off
title %~nx0
set local
cls
:START
echo.
echo Copyright -- Matthew Shillam -- 2018
echo.
echo ---------------------------------------------------------------------------
echo %date% %time% - Install started
echo ---------------------------------------------------------------------------
echo.
start /wait 7z.exe a archived_files.7z .\duplicati_install_script\* -r -x!*.git -x!.git -x!.DS_Store -x!Icon -x!Thumbs.db
echo.
echo Archived all files now creating the installer....
echo.
copy /b 7zSD.sfx + config.txt + archived_files.7z Duplicati_installer_v0.1.exe
echo.
echo All done!
cmd /k

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,5 @@
[Configuration]
[Configuration\Interface\Updates]
ConsoleVersion=5.13.4

Binary file not shown.

View File

@ -0,0 +1,12 @@
PuTTY-User-Key-File-2: ecdsa-sha2-nistp521
Encryption: none
Comment: imported-openssh-key
Public-Lines: 4
AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFR2PSqwv5j
H+Wpvj3okPYZg4GP5rUXPsWsiziKd9eJ/NttXDwNkqN4WYqt6wuWFPziTu6Bwj+a
NNdd/DfAkwvvjwCRRDvts3NB454CHD+Ik1m5y0PBCCsoXIeoiUcFncKW7S3mSVG2
bBsCp9zHT1QF1rde6rfwZijqbAiMaebMuZ8SWA==
Private-Lines: 2
AAAAQgDZW9jbtUgRR5bhLMHbyG/mLqI65dUV8lV79qnWRWlFpxu2hOvqsCIkG9Uc
cg3bF3G29M/Z4DjErDdPXEvsh4f0cQ==
Private-MAC: 7f4cf324686fb7a4349e473bd738f1eabb95f309

View File

@ -0,0 +1,156 @@
@echo off
title %~nx0
set local
cls
:START
echo.
echo Copyright -- Matthew Shillam -- 2018
echo.
echo ---------------------------------------------------------------------------
echo %date% %time% - Duplicati Install started
echo ---------------------------------------------------------------------------
echo.
set RESTART=0
:GETOSVERSION
SET OSVersion=Unknown
VER | FINDSTR /L "5.0" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="2000"& SET OSDescription="Windows 2000"
VER | FINDSTR /L "5.1" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="XP"& SET OSDescription="Windows XP"
VER | FINDSTR /L "5.2" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="2003"& SET OSDescription="Windows XP Pro x64 | Windows Server 2003"
VER | FINDSTR /L "6.0" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="Vista"& SET OSDescription="Windows Vista | Windows Server 2008"
VER | FINDSTR /L "6.1" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="7"& SET OSDescription="Windows 7 | Windows Server 2008 R2"
VER | FINDSTR /L "6.2" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="8"& SET OSDescription="Windows 8 | Windows Server 2012"
VER | FINDSTR /L "6.3" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="8.1"& SET OSDescription="Windows 8.1 | Windows Server 2012 R2"
VER | FINDSTR /L "10.0" > NUL
IF %ERRORLEVEL% EQU 0 SET OSversion="10"& SET OSDescription="Windows 10 | Windows Server 2016"
IF %OSVersion%==Unknown (
echo.
echo Unable to Determine your operating system, it must be old!
) ELSE (
echo.
echo You appear to be using %OSDescription%
)
:DUPLICATIINSTALL
echo .
echo Installing duplicati binary...
echo Ensure that you deselect run at startup to ensure service works proper!
echo Also! Ensure you do not run duplicati after install has completed!!
start /wait msiexec /i %~dp0bin\duplicati-2.0.3.11_canary_2018-09-05-x64.msi
goto GETPROGRAMPATH
:GETPROGRAMPATH
SET NUL=NUL
IF "%OS%"=="Windows_NT" SET NUL=
echo.
echo ---------------------------------------------------------------------------
IF EXIST "C:\Program Files (x86)\Duplicati 2\%NUL%" ( SET "PROGRAMFOLDER=C:\Program Files (x86)\Duplicati 2\" )& echo Program path is: "C:\Program Files (x86)\Duplicati 2\"
IF EXIST "C:\Program Files\Duplicati 2\%NUL%" (SET "PROGRAMFOLDER=C:\Program Files\Duplicati 2\")& echo Program path is: "C:\Program Files\Duplicati 2\"
REM IF "%PROGRAMFOLDER%" == "" echo Software was not installed... time to debug!& GOTO EXITNOW
:SETUPSERVICE
set "execpath=%PROGRAMFOLDER%\Duplicati.WindowsService.exe"
"%execpath%" install --webservice-interface=127.0.0.1 --webservice-port=8200 --portable-mode
echo .
NET START Duplicati
:GETCLIENTNAME
echo Enter client name ( In email eg: client-mat-is-ace )? :
set /p CLIENTNAME=
echo.
echo ---------------------------------------------------------------------------
echo Ok -- %CLIENTNAME% it is...
echo ---------------------------------------------------------------------------
echo.
goto GETSCHEDULES
:GETSCHEDULES
set FILEXRAYS="schedule-xrays-%CLIENTNAME%.json"
set FILEDATABASE="schedule-database-%CLIENTNAME%.json"
set FILEDOCUMENTS="schedule-documents-%CLIENTNAME%.json"
%~dp0bin\winscp.com /ini=nul /command ^
"open sftp://mrdownloader@mydentalbackup.co.uk:5349/ -hostkey=""ssh-ed25519 256 PTL6imOWXdhJQEuBThd8yfozcuOtOxpKEZs0hOGZh3c="" -privatekey=""%~dp0bin\id_deployer2.ppk""" ^
"cd /home/mydentalbackup.co.uk/files" ^
"lcd %~dp0bin" ^
"get %FILEDATABASE%" "get %FILEDOCUMENTS%" "get %FILEXRAYS%" ^
"close" ^
"exit"
goto ADDSCHEDULES
:ADDSCHEDULES
%~dp0bin\duplicati_client.exe login http://127.0.0.1:8200
%~dp0bin\duplicati_client.exe create backup %~dp0bin\schedule-database-%CLIENTNAME%.json
%~dp0bin\duplicati_client.exe create backup %~dp0bin\schedule-documents-%CLIENTNAME%.json
%~dp0bin\duplicati_client.exe create backup %~dp0bin\schedule-xrays-%CLIENTNAME%.json
goto SORTCHORTCUTS
:SORTCHORTCUTS
echo Removing shortcut from desktop...
echo.
del "%USERPROFILE%\Desktop\Duplicati 2.lnk"
echo.
echo Adding new shortcut to desktop
xcopy "%~dp0bin\Duplicati 2 start.lnk" %USERPROFILE%\Desktop
:EXITNOW
echo.
echo.
echo ---------------------------------------------------------------------------
echo.
echo Ok -- if all went well you should see no errors above... Scroll up
echo and check!!! ( yes you John! )
echo.
echo ---------------------------------------------------------------------------
echo. & echo %date% %time% - %~nx0 ended & echo.
Cmd /k
:EXITCLOSE

BIN
x64/7za.dll Normal file

Binary file not shown.

BIN
x64/7za.exe Normal file

Binary file not shown.

BIN
x64/7zxa.dll Normal file

Binary file not shown.