Skip to main content
Skip table of contents

RMVEFFLNK, remove IFS files by age

Usage

The RMVEFFLNK command can be used to remove or archive any IFS files. Either all files are removed, or only those files that have been stored for a certain number of days. (Age of the file in days)
All data to be removed can be backed up in an i-effect archive beforehand.

Parameters and their meaning

The command has the following parameters

Parameter

Element

Value

Description

IFSPATH

Qualified specification of the files to be removed

Element 1

IFS path from which files are to be removed

Element 2

File mask of the files to be removed.

Element 3

*YES

Subdirectories in the specified path are also scanned.

*NO

Subdirectories in the specified path are not scanned.

OMIT

Names of files that should be excluded from removal. Wildcards can also be specified here.

LOG

*SELECT

Only files older than the number of days specified in the DAY parameter will be removed.

*ALL

All files will be removed

DAY

Age of files in days that must be reached before files are deleted. Only valid in conjunction with parameter LOG(*SELECT).

ARCHIV

*YES

Files are backed up to the archive specified in the ARCPATH parameter before removal.

*NO

Files are not backed up before removal.

*MOVE

Files are moved to the directory specified in the MOVEPATH parameter.

ARCPATH

Name of the archive file to which the data to be archived is transferred and compressed.

MOVEPATH

The name of a directory to which all selected files will be moved. The directory will be created if it does not already exist.

Application example

Description

command parameters

Remove files older than 5 days from /home/ieffect/as2/archive/send

IEFFECT/RMVEFFLNK IFSPATH('''home/ieffecT/archive/as2/receive' '*.*' *NO)
DAY(5)
ARCHIV(*YES)
ARCPATH('/home/ieffect/as/receive/as2receive.zip')

Move files older than 5 days from /home/ieffect/as2/archive/send to /home/archive/i-effect

IEFFECT/RMVEFFLNK IFSPATH('home/ieffecT/archive/as2/receive' '.' *NO)
DAY(5)
ARCHIV(*MOVE)
MOVEPATH('/home/archive/i-effect')

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.