This is a simple script that stores (dumps) all files from input directory (including all files from subdirectories)
into two files (that together make a dump) and allows to restore it later to desired location. It may be useful in environments
with restricted pemissions (e.g. executing an OS processes).
- preserves directory structure (relative to input directory)
- preserves file (and directory) modification and last access time
- preserves file (and directory) permissions
- does not require any special modules
- uses low memory (so may be run on environments with low memory limit)
- may take long to complete if an input directory is too large (so may not work on environments with low execution time limit)
- is very simple so should work in most environments
- the produced dump files could not be used by another programs than this script because they have a custom format that is not supported by others
- does not compress the files
- either of the output files cannot be used separately, they are two parts of the same dump. You should not exchange them, edit, rename, etc.
See examples and description in source files.
Disclaimer: This software is released “as is.” The author makes no warranties, either express or implied, regarding the use of this software for any particular purpose. You are using this software at your own risk. The author is not responsible for any damages caused by the use or misuse of this software and cannot provide any warranty with this software. The author is not liable for any incidental, indirect, or consequential damages related to the use or the inability to use this software (such as damages for loss of business, profits, loss of data, etc.) or its accompanying documentation. This software has not been thoroughly tested on all operating systems and configurations, nor other computers, and therefore comes with no guarantee as to its stability or performance on your particular system. Use it entirely at your own risk.