7z_Archiver
A Windows based commandlet wrapper for 7z commandline.
Primarily tested with Windows 10. (Might work with Windows 7 x64)
DESCRIPTION
SCRIPT STYLE: Intelligent Wrapper (for 7-Zip Archiver)
The purpose of this script/commandlet is to intelligently process a folder directory to be archived compressed using 7-Zip. Process a single archive or multiple archives. Minimally developed for console output. Primarily developed for log output.
Features
- Perfect as a scheduled task
- Perfect for running in the windows commandshell
Latest Version
- 3.0.0
How To Configure
Fill out the configuration file
ARCHIVE_NAME
Used for single archive to give a name and location for the archive.ARCHIVE_SOURCE_FOLDER
What Single folder to archive.ARCHIVE_BULK_FOLDER
What bulk folder to archive; will process all the sub-directories in the given folder.ARCHIVE_BULK_HASH
Calculate [SHA256] hash (or not).ARCHIVE_BULK_SHIPPING
If bulk archive is configured, should the archive files be shipped somewhere --Yes or No.ARCHIVE_BULK_DESTINATION
If bulk shipping, where to send.ARCHIVE_ACTION
Corresponds to the of 7z, i.e. what to do. Default is a for add files to archiveARCHIVE_SWITCH_STRING
Corresponds to for 7z.LOG_LOCATION
Location for log file.LOG_FILE
leave blank to accept default or use a custom name.LOG_SHIPPING_LOCATION
the log file can be shipped to a specified location.ARCHIVE_CLEAN_UP
If the archiver should delete the folder(s) after archive is complete.ARCHIVE_FILE_EXCLUDE
Can add to list if needed.LOG_LEVEL_*
Control the log output.DEBUGGER_PC
configure hostname of a machine running the archiver if debugging is needed. Mostly used for development.VAR_CLEANUP
Cleanup var folder? Yes <1> or No <0>
- Don't change
ARCHIVER_CONFIG_SCHEMA_VERSION
Author
David Geeraerts
Location: Olympia, Washington USA
dgeeraerts.evergreen@gmail.com
License
Copyleft License(s) GNU GPL (General Public License) https://www.gnu.org/licenses/gpl-3.0.en.html