83 lines
6.5 KiB
INI
83 lines
6.5 KiB
INI
####################################################################################################
|
|
# Digital Data Configuration File (Template Date: 30.07.2016) #
|
|
# UTF-8 Coding required! #
|
|
# incl. FailSafe functions that are active when information is missing. #
|
|
####################################################################################################
|
|
|
|
#==================================================================================================#
|
|
########################################## General Setup ###########################################
|
|
#==================================================================================================#
|
|
|
|
####################################################################################################
|
|
# Path in which the log files will be stored. #
|
|
# Example: E:\LogFiles\<ScriptName> #
|
|
# FailSafe Setting is: <ScriptPath>\Logs #
|
|
####################################################################################################
|
|
LogPath =
|
|
|
|
####################################################################################################
|
|
# Numerical value how long (in days) log files will be kept. ValidateRange is 0 - 1000 #
|
|
# Setting the Value to 0 disables this Function. #
|
|
# FailSafe Setting is: 60 #
|
|
####################################################################################################
|
|
LogFileKeepTime = 30
|
|
|
|
#==================================================================================================#
|
|
########################################## Profile Setup ###########################################
|
|
#==================================================================================================#
|
|
|
|
####################################################################################################
|
|
# Define Profiles in this config file for the executing Script. #
|
|
# Syntax: #
|
|
# Profile = <ProfileType>;<SourcePath>;<FileType>;<ReclusiveSwitch>;<DeleteItemsOlderThen> #
|
|
# Example: #
|
|
# Profile = E:\SourcePath ; *.log ; true ; 10minutes #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# First Parameter: <ProfileType> #
|
|
# Determine which kind of Objects should be processed. #
|
|
# By choosing Folders for deletion, only empty Folders will be deleted. #
|
|
# Example: FilesOnly #
|
|
# Example: FoldersOnly #
|
|
# Example: FilesAndFolders #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Second Parameter: <SourcePath> #
|
|
# Give the Path to the files you want to process. #
|
|
# Example: E:\SourcePath #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Third Parameter: <FileType> #
|
|
# Set the File extensions you want to search for, in the specified SourcePath. #
|
|
# Example: *.* --This means every File Extension. #
|
|
# Example: *.pdf --This means only Files with the Extension "pdf". #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Fourth Parameter: <ReclusiveSwitch> #
|
|
# Determine if the SourcePath should be searched only in the main dir or even in every subfolder. #
|
|
# Example: True --Search in every Subfolder under the specified Sourcefolder. #
|
|
# Example: False --Search only in the specified Sourcefolder. #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Fifth Parameter: <DeleteItemsOlderThen> #
|
|
# Define how old file must be, before deletion. Minutes, Hours, Days and Years are possible. #
|
|
# Example: 15minutes #
|
|
# Example: 5hours #
|
|
# Example: 3days #
|
|
# Example: 4years #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Argument call: #
|
|
# If you need to run the Script with dynamic Values, you can do so, by calling it with arguments. #
|
|
# Even the Special and Optional Parameters are available in this case. #
|
|
# Example: #
|
|
# This Function is currently not implement! #
|
|
####################################################################################################
|
|
|
|
Profile = FoldersOnly ; E:\KammM - Kopie ; *.* ; true; 5minutes
|
|
|
|
#Profile = FilesOnly ; E:\LogFiles\SomeApp ; *.log ; true ; 15minutes
|
|
#Profile = FoldersOnly ; E:\LogFiles\SomeApp ; *.log ; true ; 5hours
|
|
#Profile = FilesAndFolders ; E:\LogFiles\SomeApp ; *.log ; true ; 3days
|
|
#Profile = FilesAndFolders ; E:\LogFiles\SomeApp ; *.log ; true ; 4years
|
|
|
|
|
|
|
|
|
|
|
|
|