This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module updiff [Version: v01]

 
Compile status: 
see log

Contents


Dependencies

For the Prokee Module Library

Dynamically Linked Modules: For the Standalone Executable

Source Files

  • updiff/updiff.h
  • interface/prokee/updiff/prokee.h
  • interface/prokee/updiff/prokee_c.h
  • interface/prokee/mlocal.h
  • updiff/updiff.cpp
  • interface/prokee/updiff/prokee.cpp
  • interface/prokee/updiff/prokee_c.cpp

Licenses


Command-Line Interface (updiff)

prokee::updiff(1) Prokee Tools prokee::updiff(1)

NAME
updiff - A copy tool to copy modified files.

SYNOPSIS
updiff [COMMAND [[PATH1] PATH2]]

DESCRIPTION
updiff compares files from a folder with a backup of this folder and copies modified files into another folder.

The following paths are constructed from PATH2:
1) PATH_A = PATH2 + "online/"
2) PATH_B = PATH2 + "diff/"
3) PATH_D = PATH2 + "difflist.def"

COMMANDS
diff PATH1 PATH2
Runs updiff::update_diff(PATH1,PATH2). The function tests for every file within PATH1 (and for all files within sub-directories), if there exists a file with the same name (and within the same sub-directory) at PATH_A). If so, the function compares the contents of both files. If both files are equal, the function ignores this file. In all other cases, the file from PATH1 is copied to PATH_B or to the same named sub-directories within PATH_B respectively.

update PATH1 PATH2
Runs updiff::refresh_snapshot(PATH1,PATH2). The function copies all files (and all sub-directories) from PATH1 to PATH_A. (Empty folders are ignored.)

reset PATH1 PATH2
Runs updiff::create_snapshot(PATH1,PATH2).

list PATH1 PATH2
Runs updiff::update_list(PATH1,PATH2).

clear PATH2
Runs updiff::clear_all(PATH2). Deletes directory PATH2 and all its contents.

(without command)
Runs interactive mode. This is available on Linux only.

AUTHOR
Andreas Pollhammer, info@andreaspollhammer.com

COPYRIGHT
Copyrigt by Andreas Pollhammer

v01 2019 prokee::updiff(1)

Screenshots


Exported Symbols

Pointers

int (*updiff_diff)(const char *localpath,const char *outpath);
int (*updiff_list)(const char *localpath,const char *outpath);
int (*updiff_reset)(const char *localpath,const char *outpath);
int (*updiff_update)(const char *localpath,const char *outpath);
int (*updiff_clear)(const char *outpath);
int (*updiff_main)(int argc,char **argv);

Internal Pointers

Pointers

int updiff_diff(const char *localpath,const char *outpath);
int updiff_list(const char *localpath,const char *outpath);
int updiff_reset(const char *localpath,const char *outpath);
int updiff_update(const char *localpath,const char *outpath);
int updiff_clear(const char *outpath);
int updiff_main(int argc,char **argv);

Build Log

--------------------------------------------------------------------------------
updiff -- Do Dez  5 02:41:34 CET 2019
--------------------------------------------------------------------------------
ERROR: Fehler beim öffnen der Datei files.def.
Fehlernummer: 2
-------------------------------------------------------------------------------
> install headers
cp: der Aufruf von stat für '../source/interface/prokee/updiff/inc/struct.h' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
-------------------------------------------------------------------------------
Executable for Linux/[local system] (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Executable for Windows/[local system] (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Linux/[local system] (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Windows/[local system] (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Linux/[local system] (LIB)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Windows/[local system] (LIB)
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Linux/[local system])
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Windows/[local system])
[compiling] [end]
------------------------------------------------------------------------------- Executable for Linux/32bit (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Executable for Windows/32bit (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Linux/32bit (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Windows/32bit (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Linux/32bit (LIB)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Windows/32bit (LIB)
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Linux/32bit)
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Windows/32bit)
[compiling] [end]
------------------------------------------------------------------------------- Executable for Linux/64bit (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Executable for Windows/64bit (CLI)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Linux/64bit (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Dynamic library for Windows/64bit (DLL)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Linux/64bit (LIB)
[compiling] [end]
------------------------------------------------------------------------------- Static library for Windows/64bit (LIB)
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Linux/64bit)
[compiling] [end]
------------------------------------------------------------------------------- TESTS (Automated Tests for Windows/64bit)
[compiling] [end]
------------------------------------------------------------------------------- > test_all ------------------------------------------------------------------------------- > prepare cp: der Aufruf von stat für '../source/interface/prokee/updiff/inc/struct.h' ist nicht möglich: Datei oder Verzeichnis nicht gefunden ------------------------------------------------------------------------------- > install creating /opt/prokee/system/reg/dllinfo/updiff.v01.info ... license=1 | version=1 | library=libupdiff.v01 creating /opt/prokee/system/reg/dllinfo/updiff.info ... license=1 | version=1 | library=libupdiff.v01 ------------------------------------------------------------------------------- > module ------------------------------------------------------------------------------- > exepack ------------------------------------------------------------------------------- > sourcepack ------------------------------------------------------------------------------- > cleanup ------------------------------------------------------------------------------- > webexport -------------------------------------------------------------------------------- FERTIG --------------------------------------------------------------------------------

Copyright © 2017 - 2019 by Andreas Pollhammer